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 */
|
||||
foreach ($params as $category => $content) {
|
||||
if (empty($content) || $category === 'providers') {
|
||||
if (!is_array($content) || $category === 'providers') {
|
||||
continue;
|
||||
}
|
||||
foreach ($content as $setting => $details) {
|
||||
|
|
Loading…
Reference in New Issue