mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/new-tz-handling] Fix undefined variable.
PHPBB3-9558
This commit is contained in:
committed by
Oleg Pudeyev
parent
f085735ef8
commit
8fe46175af
@@ -97,6 +97,8 @@ class phpbb_datetime extends DateTime
|
||||
|
||||
$midnight = $midnight->getTimestamp();
|
||||
|
||||
$day = false;
|
||||
|
||||
if ($timestamp > $midnight + 86400)
|
||||
{
|
||||
$day = 'TOMORROW';
|
||||
|
Reference in New Issue
Block a user