Changed default timezone value
authorMarcel Werk <burntime@woltlab.com>
Fri, 12 Apr 2013 18:04:08 +0000 (20:04 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 12 Apr 2013 18:04:08 +0000 (20:04 +0200)
wcfsetup/install/files/lib/system/option/TimezoneOptionType.class.php

index 1d850796fae3ee76ffb6c594642d900996f0e43a..66e43c584f750b17065deaf378ae3ad0c0da628d 100644 (file)
@@ -28,7 +28,7 @@ class TimezoneOptionType extends AbstractOptionType {
                WCF::getTPL()->assign(array(
                        'option' => $option,
                        'selectOptions' => $timezoneOptions,
-                       'value' => $value
+                       'value' => ($value ?: TIMEZONE)
                ));
                return WCF::getTPL()->fetch('selectOptionType');
        }