Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-11-19 14:17:35 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-11-19 14:17:35 +0300
commite38a46eb6496e6dad2d4bcd0ed434967e2c923ff (patch)
treebd0b3af227932853312a7a27373b1d103966827a /lib/Controller
parentad4de12658296d2260f94e3f201d3080074dcf7f (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.php2
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 . '-';