mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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()) {
|
if ($detect->success()) {
|
||||||
return $detect->getTimezoneName();
|
return $detect->getTimezoneName();
|
||||||
} else {
|
} else {
|
||||||
return date_default_timezone_get();
|
return @date_default_timezone_get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user