mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix exception when settingsDb are empty
This commit is contained in:
parent
6c4fd4ed27
commit
ac67555f28
@ -252,7 +252,7 @@ class Settings implements \ArrayAccess
|
||||
}
|
||||
|
||||
else if($setting['type'] === 'textarea') {
|
||||
if (is_array($settingsDb[$key])) {
|
||||
if (isset($settingsDb[$key]) && is_array($settingsDb[$key])) {
|
||||
$settingsDb[$key] = implode(',', $settingsDb[$key]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user