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
1 changed files with 1 additions and 1 deletions

View File

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