Closed stonebuzz closed 2 years ago
Prevent error on NULL timezone
NULL
Because of if / else here which use in both case $configTimezone['timezone']
if
else
$configTimezone['timezone']
if (!empty($configTimezone['timezone']) && !is_null($configTimezone['timezone'])) { $baseTimezone = $configTimezone['timezone']; } else if (!empty($tz)) { $baseTimezone = $configTimezone['timezone']; }
@tsmr up =)
Prevent error on
NULL
timezoneBecause of
if
/else
here which use in both case$configTimezone['timezone']