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>
This commit is contained in:
parent
ad4de12658
commit
e38a46eb64
|
@ -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 . '-';
|
||||
|
|
Loading…
Reference in New Issue