From e38a46eb6496e6dad2d4bcd0ed434967e2c923ff Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Mon, 19 Nov 2018 12:17:35 +0100 Subject: [PATCH] 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 --- lib/Controller/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php index eb22f3d..2851eae 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 . '-';