diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-11-19 14:17:35 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-11-19 14:17:35 +0300 |
commit | e38a46eb6496e6dad2d4bcd0ed434967e2c923ff (patch) | |
tree | bd0b3af227932853312a7a27373b1d103966827a /lib/Controller | |
parent | ad4de12658296d2260f94e3f201d3080074dcf7f (diff) |
first check if it is an array and that the key exists, to avoid error messages in the log file
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/SettingsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php index eb22f3d7..2851eae3 100644 --- a/lib/Controller/SettingsController.php +++ b/lib/Controller/SettingsController.php @@ -100,7 +100,7 @@ class SettingsController extends Controller { continue; } foreach ($content as $setting => $details) { - if ($details['global']) { + if (isset($details['global']) && $details['global'] === true) { continue; } $prefix = $providerId === '1' ? '' : $providerId . '-'; |