mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Fix the fix
This commit is contained in:
parent
8ef238c96c
commit
41c9f54e4b
@ -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 (is_int($setting['default'])) {
|
if (is_int($setting['default']) || !empty($setting['default'])) {
|
||||||
echo $setting['options'][$setting['default']];
|
echo $setting['options'][$setting['default']];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user