From 41c9f54e4b33004fc6519378f222f3ea9521dfcf Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 11 Nov 2023 21:32:00 +0100 Subject: [PATCH] Fix the fix --- system/libs/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libs/Settings.php b/system/libs/Settings.php index 68ed8ca2..649f5b1a 100644 --- a/system/libs/Settings.php +++ b/system/libs/Settings.php @@ -340,7 +340,7 @@ class Settings implements ArrayAccess echo $setting['default']; } else if ($setting['type'] === 'options') { - if (is_int($setting['default'])) { + if (is_int($setting['default']) || !empty($setting['default'])) { echo $setting['options'][$setting['default']]; } }