File: phpbb/notification/type/bookmark.php
Unmodified
Added
Modified
Removed
Line 95 | Line 95 |
---|
$sql = 'SELECT n.* FROM ' . $this->notifications_table . ' n, ' . $this->notification_types_table . ' nt WHERE n.notification_type_id = ' . (int) $this->notification_type_id . '
|
$sql = 'SELECT n.* FROM ' . $this->notifications_table . ' n, ' . $this->notification_types_table . ' nt WHERE n.notification_type_id = ' . (int) $this->notification_type_id . '
|
AND n.item_parent_id = ' . (int) self::get_item_parent_id($post) . '
| AND n.item_parent_id = ' . (int) static::get_item_parent_id($post) . '
|
AND n.notification_read = 0 AND nt.notification_type_id = n.notification_type_id AND nt.notification_type_enabled = 1';
| AND n.notification_read = 0 AND nt.notification_type_id = n.notification_type_id AND nt.notification_type_enabled = 1';
|