mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-06 07:28:29 -05:00
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
This commit is contained in:
committed by
GitHub
parent
1ee1fcce91
commit
36f9d44d54
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user