diff options
author | VirtualTam <virtualtam@flibidi.net> | 2019-02-23 16:46:02 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-02-23 16:46:02 +0100 |
commit | af22c1ae3adb7a0705814bb7c4d75c9e2aa26a0e (patch) | |
tree | e461ef309a15e9b9da6058892350c4275558d783 /application/config/ConfigPlugin.php | |
parent | 1a3da5a5011fc79c2bf15a8d1f6c7dd9f87db715 (diff) | |
parent | 1c03b65e2ea722b39e54b22c46014f35e34b575b (diff) | |
download | Shaarli-af22c1ae3adb7a0705814bb7c4d75c9e2aa26a0e.tar.gz Shaarli-af22c1ae3adb7a0705814bb7c4d75c9e2aa26a0e.tar.zst Shaarli-af22c1ae3adb7a0705814bb7c4d75c9e2aa26a0e.zip |
Merge tag 'v0.10.3' into latest
Release v0.10.3
Diffstat (limited to 'application/config/ConfigPlugin.php')
-rw-r--r-- | application/config/ConfigPlugin.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/application/config/ConfigPlugin.php b/application/config/ConfigPlugin.php index b3d9752b..dbb24937 100644 --- a/application/config/ConfigPlugin.php +++ b/application/config/ConfigPlugin.php | |||
@@ -34,8 +34,7 @@ function save_plugin_config($formData) | |||
34 | // If there is no order, it means a disabled plugin has been enabled. | 34 | // If there is no order, it means a disabled plugin has been enabled. |
35 | if (isset($formData['order_' . $key])) { | 35 | if (isset($formData['order_' . $key])) { |
36 | $plugins[(int) $formData['order_' . $key]] = $key; | 36 | $plugins[(int) $formData['order_' . $key]] = $key; |
37 | } | 37 | } else { |
38 | else { | ||
39 | $newEnabledPlugins[] = $key; | 38 | $newEnabledPlugins[] = $key; |
40 | } | 39 | } |
41 | } | 40 | } |