mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01: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