mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
sigh ....
git-svn-id: file:///svn/phpbb/trunk@2187 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
181fb574cd
commit
eb92b9c409
1 changed files with 5 additions and 2 deletions
|
@ -569,7 +569,7 @@ function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id
|
||||||
if ( $mode == "reply" )
|
if ( $mode == "reply" )
|
||||||
{
|
{
|
||||||
$sql = "SELECT ban_userid
|
$sql = "SELECT ban_userid
|
||||||
FROM " . BANLIST_TABLE;
|
FROM " . BANLIST_TABLE . ";
|
||||||
if ( !($result = $db->sql_query($sql)) )
|
if ( !($result = $db->sql_query($sql)) )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "", "", __LINE__, __FILE__, $sql);
|
||||||
|
@ -577,9 +577,12 @@ function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id
|
||||||
|
|
||||||
$user_id_sql = "";
|
$user_id_sql = "";
|
||||||
while ( $row = $db->sql_fetchrow($result) )
|
while ( $row = $db->sql_fetchrow($result) )
|
||||||
|
{
|
||||||
|
if ( isset($row['ban_user_id']) )
|
||||||
{
|
{
|
||||||
$user_id_sql = ", " . $row['ban_userid'];
|
$user_id_sql = ", " . $row['ban_userid'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$sql = "SELECT u.user_id, u.username, u.user_email, u.user_lang, t.topic_title
|
$sql = "SELECT u.user_id, u.username, u.user_email, u.user_lang, t.topic_title
|
||||||
FROM " . TOPICS_WATCH_TABLE . " tw, " . TOPICS_TABLE . " t, " . USERS_TABLE . " u
|
FROM " . TOPICS_WATCH_TABLE . " tw, " . TOPICS_TABLE . " t, " . USERS_TABLE . " u
|
||||||
|
|
Loading…
Add table
Reference in a new issue