From a030dcec6ba2a6b774651d92bd723a700284dbfe Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 20 Dec 2016 00:07:03 +0100 Subject: [PATCH] Fixed undefined variables --- .../files/lib/system/option/TimezoneOptionType.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/option/TimezoneOptionType.class.php b/wcfsetup/install/files/lib/system/option/TimezoneOptionType.class.php index efd9f3c885..6019ecfd70 100644 --- a/wcfsetup/install/files/lib/system/option/TimezoneOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/TimezoneOptionType.class.php @@ -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'); } -- 2.20.1