mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/new-tz-handling] Fix undefined variable.
PHPBB3-9558
This commit is contained in:
parent
f085735ef8
commit
8fe46175af
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ class phpbb_datetime extends DateTime
|
|||
|
||||
$midnight = $midnight->getTimestamp();
|
||||
|
||||
$day = false;
|
||||
|
||||
if ($timestamp > $midnight + 86400)
|
||||
{
|
||||
$day = 'TOMORROW';
|
||||
|
|
Loading…
Add table
Reference in a new issue