[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';