aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 209377afe2..2d13e494ea 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1760,7 +1760,7 @@ switch($folder)
$sql .= "WHERE pm.privmsgs_from_userid = " . $userdata['user_id'] . "
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 . " )";
break;