diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2010-07-07 22:29:36 +0100 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-03-14 22:57:30 -0400 |
| commit | 8fe46175aff1d9275b7337a8ced8060ff850d153 (patch) | |
| tree | 42509089313a00557c1161d8f86b7a1fe84f728e /phpBB | |
| parent | f085735ef812a57790699a6d789cbab22f882328 (diff) | |
| download | forums-8fe46175aff1d9275b7337a8ced8060ff850d153.tar forums-8fe46175aff1d9275b7337a8ced8060ff850d153.tar.gz forums-8fe46175aff1d9275b7337a8ced8060ff850d153.tar.bz2 forums-8fe46175aff1d9275b7337a8ced8060ff850d153.tar.xz forums-8fe46175aff1d9275b7337a8ced8060ff850d153.zip | |
[feature/new-tz-handling] Fix undefined variable.
PHPBB3-9558
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/datetime.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/datetime.php b/phpBB/includes/datetime.php index 12d04d5ca6..25da6401d7 100644 --- a/phpBB/includes/datetime.php +++ b/phpBB/includes/datetime.php @@ -97,6 +97,8 @@ class phpbb_datetime extends DateTime $midnight = $midnight->getTimestamp(); + $day = false; + if ($timestamp > $midnight + 86400) { $day = 'TOMORROW'; |
