1
0
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:
Chris Smith
2010-07-07 22:29:36 +01:00
committed by Oleg Pudeyev
parent f085735ef8
commit 8fe46175af

View File

@@ -97,6 +97,8 @@ class phpbb_datetime extends DateTime
$midnight = $midnight->getTimestamp();
$day = false;
if ($timestamp > $midnight + 86400)
{
$day = 'TOMORROW';