Fix the `date_default_timezone_get()' error
This commit is contained in:
parent
038964a325
commit
86cca8ff0b
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue