diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-12 21:41:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 21:41:24 +0200 |
commit | 4af591ff3c5db4dea5b6c437527f6f9b12917570 (patch) | |
tree | 924ab153d4ae4609e0c073775874f9f11d84d0dc /application/front/controller | |
parent | e809908f9e593b2cec11f72849caa1dae6394451 (diff) | |
parent | 4ff703e3691e6cb398e8d208c1f54ed61315e0e8 (diff) | |
download | Shaarli-4af591ff3c5db4dea5b6c437527f6f9b12917570.tar.gz Shaarli-4af591ff3c5db4dea5b6c437527f6f9b12917570.tar.zst Shaarli-4af591ff3c5db4dea5b6c437527f6f9b12917570.zip |
Merge pull request #1551 from ArthurHoaro/fix/plugin-save-metadata
Plugins: do not save metadata along plugin parameters
Diffstat (limited to 'application/front/controller')
-rw-r--r-- | application/front/controller/admin/PluginsController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/front/controller/admin/PluginsController.php b/application/front/controller/admin/PluginsController.php index 0e09116e..8e059681 100644 --- a/application/front/controller/admin/PluginsController.php +++ b/application/front/controller/admin/PluginsController.php | |||
@@ -62,6 +62,7 @@ class PluginsController extends ShaarliAdminController | |||
62 | 62 | ||
63 | if (isset($parameters['parameters_form'])) { | 63 | if (isset($parameters['parameters_form'])) { |
64 | unset($parameters['parameters_form']); | 64 | unset($parameters['parameters_form']); |
65 | unset($parameters['token']); | ||
65 | foreach ($parameters as $param => $value) { | 66 | foreach ($parameters as $param => $value) { |
66 | $this->container->conf->set('plugins.'. $param, escape($value)); | 67 | $this->container->conf->set('plugins.'. $param, escape($value)); |
67 | } | 68 | } |