mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Missing concatenationnn ... thingy ... dot ..
git-svn-id: file:///svn/phpbb/trunk@3891 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cd1fa01b2a
commit
7a395b013f
1 changed files with 2 additions and 2 deletions
|
@ -1228,7 +1228,7 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
|
||||||
{
|
{
|
||||||
if (isset($row['ban_userid']))
|
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
|
$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
|
FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . FORUMS_WATCH_TABLE . " fw, " . FORUMS_TABLE . " f
|
||||||
WHERE fw.forum_id = $forum_id
|
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 fw.notify_status = 0
|
||||||
AND t.topic_id = $topic_id
|
AND t.topic_id = $topic_id
|
||||||
AND f.forum_id = fw.forum_id
|
AND f.forum_id = fw.forum_id
|
||||||
|
|
Loading…
Add table
Reference in a new issue