diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-11-19 14:25:12 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-11-19 14:25:12 +0300 |
commit | 087efb7359a7a860791545cd22b910acd26567ce (patch) | |
tree | f3d0576e233e3031fe7d5afd7a626233984329aa /lib/Controller | |
parent | e38a46eb6496e6dad2d4bcd0ed434967e2c923ff (diff) |
content doesn't have to be a array, e.g. for category=type, content is 'saml'
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 2851eae3..efe80eee 100644 --- a/lib/Controller/SettingsController.php +++ b/lib/Controller/SettingsController.php @@ -96,7 +96,7 @@ class SettingsController extends Controller { ]; /* Fetch all config values for the given providerId */ foreach ($params as $category => $content) { - if (empty($content) || $category === 'providers') { + if (!is_array($content) || $category === 'providers') { continue; } foreach ($content as $setting => $details) { |