diff options
| author | 2021-02-02 06:40:03 -0500 | |
|---|---|---|
| committer | 2021-02-02 12:40:03 +0100 | |
| commit | 36f9d44d540c32e092e4511beef44a44453db84d (patch) | |
| tree | be4091a719b9bda36b629a828cedeb28f924e59f | |
| parent | 1ee1fcce91d64c8cee6b8621aaedbdeae0c9c330 (diff) | |
Fix user configuration in extension (#3412)
Before, only one extension could be configured at a time. Thus we
were loosing the configuration for other extensions when saving.
Now, each extension can be saved without overriding data.
See #3397
| -rw-r--r-- | lib/Minz/Extension.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php index e463c03c4..7f377b3d9 100644 --- a/lib/Minz/Extension.php +++ b/lib/Minz/Extension.php @@ -240,7 +240,7 @@ abstract class Minz_Extension { if (!$this->isUserConfigurationEnabled()) { return; } - if ($this->isExtensionConfigured()) { + if (FreshRSS_Context::$user_conf->hasParam($this->config_key)) { $extensions = FreshRSS_Context::$user_conf->{$this->config_key}; } else { $extensions = []; |
