Fix the `date_default_timezone_get()' error

This commit is contained in:
Alexander Fuhr 2014-11-14 17:08:34 +01:00
parent 038964a325
commit 86cca8ff0b

View File

@ -235,7 +235,7 @@ class PreferenceForm extends Form
if ($detect->success()) { if ($detect->success()) {
return $detect->getTimezoneName(); return $detect->getTimezoneName();
} else { } else {
return date_default_timezone_get(); return @date_default_timezone_get();
} }
} }