diff --git a/phpBB/phpbb/datetime.php b/phpBB/phpbb/datetime.php index 7384eeabbd..e171ac2dd1 100644 --- a/phpBB/phpbb/datetime.php +++ b/phpBB/phpbb/datetime.php @@ -97,7 +97,7 @@ class datetime extends \DateTime $midnight = $midnight->getTimestamp(); - if ($timestamp <= $midnight + 2 * 86400) + if ($timestamp < $midnight + 2 * 86400) { $day = false;