mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
Fix SQL bug #519941
git-svn-id: file:///svn/phpbb/trunk@2193 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1760,7 +1760,7 @@ switch($folder)
|
|||||||
|
|
||||||
$sql .= "WHERE pm.privmsgs_from_userid = " . $userdata['user_id'] . "
|
$sql .= "WHERE pm.privmsgs_from_userid = " . $userdata['user_id'] . "
|
||||||
AND u.user_id = pm.privmsgs_to_userid
|
AND u.user_id = pm.privmsgs_to_userid
|
||||||
AND pm.privmsgs_type = " . PRIVMSGS_NEW_MAIL . "
|
AND ( pm.privmsgs_type = " . PRIVMSGS_NEW_MAIL . "
|
||||||
OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " )";
|
OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " )";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user