mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Fix exception if setting not found
This commit is contained in:
@@ -1228,7 +1228,8 @@ function setting($key)
|
||||
return $settings[$key[0]] = $key[1];
|
||||
}
|
||||
|
||||
return $settings[$key]['value'];
|
||||
$ret = $settings[$key];
|
||||
return isset($ret) ? $ret['value'] : null;
|
||||
}
|
||||
|
||||
function clearCache()
|
||||
|
Reference in New Issue
Block a user