aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-02-02 06:40:03 -0500
committerGravatar GitHub <noreply@github.com> 2021-02-02 12:40:03 +0100
commit36f9d44d540c32e092e4511beef44a44453db84d (patch)
treebe4091a719b9bda36b629a828cedeb28f924e59f /lib
parent1ee1fcce91d64c8cee6b8621aaedbdeae0c9c330 (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
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/Extension.php2
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 = [];