mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Missing concatenationnn ... thingy ... dot ..
git-svn-id: file:///svn/phpbb/trunk@3891 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1228,7 +1228,7 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
|
||||
{
|
||||
if (isset($row['ban_userid']))
|
||||
{
|
||||
$sql_ignore_users = ', ' . $row['ban_userid'];
|
||||
$sql_ignore_users .= ', ' . $row['ban_userid'];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1299,7 +1299,7 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
|
||||
$sql = "SELECT u.user_id, u.username, u.user_email, u.user_lang, t.topic_title, f.forum_name
|
||||
FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . FORUMS_WATCH_TABLE . " fw, " . FORUMS_TABLE . " f
|
||||
WHERE fw.forum_id = $forum_id
|
||||
AND fw.user_id NOT IN (" . $already_notified . $user->data['user_id'] . ", " . ANONYMOUS . $user_id_sql . " )
|
||||
AND fw.user_id NOT IN ($already_notified, $sql_ignore_users)
|
||||
AND fw.notify_status = 0
|
||||
AND t.topic_id = $topic_id
|
||||
AND f.forum_id = fw.forum_id
|
||||
|
Reference in New Issue
Block a user