mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +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();
|
$midnight = $midnight->getTimestamp();
|
||||||
|
|
||||||
|
$day = false;
|
||||||
|
|
||||||
if ($timestamp > $midnight + 86400)
|
if ($timestamp > $midnight + 86400)
|
||||||
{
|
{
|
||||||
$day = 'TOMORROW';
|
$day = 'TOMORROW';
|
||||||
|
Reference in New Issue
Block a user