1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/11103] Code cleanup

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-10-29 18:15:01 -05:00
parent e549b7663d
commit ecf6f1eb8c
4 changed files with 2 additions and 64 deletions

View File

@@ -231,7 +231,7 @@ class phpbb_notification_manager
return;
}
$time = ($time) ?: time();
$time = ($time !== false) ? $time : time();
$sql = 'UPDATE ' . NOTIFICATIONS_TABLE . "
SET unread = 0