mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-28 06:06:51 +01:00
Fix default option for options
This commit is contained in:
@@ -340,7 +340,7 @@ class Settings implements ArrayAccess
|
||||
echo $setting['default'];
|
||||
}
|
||||
else if ($setting['type'] === 'options') {
|
||||
if (!empty($setting['default'])) {
|
||||
if (is_int($setting['default'])) {
|
||||
echo $setting['options'][$setting['default']];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user