From 36f9d44d540c32e092e4511beef44a44453db84d Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Tue, 2 Feb 2021 06:40:03 -0500 Subject: 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 --- lib/Minz/Extension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Minz/Extension.php') 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 = []; -- cgit v1.2.3