mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix default option for options
This commit is contained in:
parent
9ffb7f5fa9
commit
8ef238c96c
@ -340,7 +340,7 @@ class Settings implements ArrayAccess
|
|||||||
echo $setting['default'];
|
echo $setting['default'];
|
||||||
}
|
}
|
||||||
else if ($setting['type'] === 'options') {
|
else if ($setting['type'] === 'options') {
|
||||||
if (!empty($setting['default'])) {
|
if (is_int($setting['default'])) {
|
||||||
echo $setting['options'][$setting['default']];
|
echo $setting['options'][$setting['default']];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user