Fixed undefined variables
authorMarcel Werk <burntime@woltlab.com>
Mon, 19 Dec 2016 23:07:03 +0000 (00:07 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 19 Dec 2016 23:07:16 +0000 (00:07 +0100)
wcfsetup/install/files/lib/system/option/TimezoneOptionType.class.php

index efd9f3c88516636c14a6e9d345d93b706ce0e770..6019ecfd70d46713b7be588e64c019889d125264 100644 (file)
@@ -24,9 +24,12 @@ class TimezoneOptionType extends AbstractOptionType {
                }
                
                WCF::getTPL()->assign([
+                       'disableOptions' => '',
+                       'enableOptions' => '',
                        'option' => $option,
                        'selectOptions' => $timezoneOptions,
-                       'value' => $value ?: TIMEZONE
+                       'value' => $value ?: TIMEZONE,
+                       'allowEmptyValue' => false
                ]);
                return WCF::getTPL()->fetch('selectOptionType');
        }