mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11103] Fix merge conflict
PHPBB3-11103
This commit is contained in:
parent
148463d586
commit
bf93dceb1f
1 changed files with 1 additions and 6 deletions
|
@ -128,13 +128,8 @@ class phpbb_notification_manager
|
|||
$sql = 'SELECT COUNT(n.notification_id) AS unread_count
|
||||
FROM ' . $this->notifications_table . ' n, ' . $this->notification_types_table . ' nt
|
||||
WHERE n.user_id = ' . (int) $options['user_id'] . '
|
||||
<<<<<<< HEAD
|
||||
AND n.unread = 1
|
||||
AND nt.notification_type = n.item_type
|
||||
=======
|
||||
AND n.notification_read = 0
|
||||
AND nt.notification_type = n.notification_type
|
||||
>>>>>>> 5cedca0... [ticket/11103] unread -> notification_read
|
||||
AND nt.notification_type = n.item_type
|
||||
AND nt.notification_type_enabled = 1';
|
||||
$result = $this->db->sql_query($sql);
|
||||
$unread_count = (int) $this->db->sql_fetchfield('unread_count', $result);
|
||||
|
|
Loading…
Add table
Reference in a new issue