mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-04-27 14:54:53 +02:00
content doesn't have to be a array, e.g. for category=type, content is 'saml'
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
e38a46eb64
commit
087efb7359
|
@ -96,7 +96,7 @@ class SettingsController extends Controller {
|
||||||
];
|
];
|
||||||
/* Fetch all config values for the given providerId */
|
/* Fetch all config values for the given providerId */
|
||||||
foreach ($params as $category => $content) {
|
foreach ($params as $category => $content) {
|
||||||
if (empty($content) || $category === 'providers') {
|
if (!is_array($content) || $category === 'providers') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
foreach ($content as $setting => $details) {
|
foreach ($content as $setting => $details) {
|
||||||
|
|
Loading…
Reference in a new issue