aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-10-10 15:12:31 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-10-10 15:12:31 +0000
commit3516e80a3c7802cbc658c1905520d57651a4a29f (patch)
tree53228b5acd1d746e283a2115cf275e7e15918a42 /phpBB/privmsg.php
parent90091811b423b67d0a108349d373d533745aa9a6 (diff)
downloadforums-3516e80a3c7802cbc658c1905520d57651a4a29f.tar
forums-3516e80a3c7802cbc658c1905520d57651a4a29f.tar.gz
forums-3516e80a3c7802cbc658c1905520d57651a4a29f.tar.bz2
forums-3516e80a3c7802cbc658c1905520d57651a4a29f.tar.xz
forums-3516e80a3c7802cbc658c1905520d57651a4a29f.zip
Fixed bug #467825
git-svn-id: file:///svn/phpbb/trunk@1153 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 88da77606b..5782c4eec6 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -921,8 +921,7 @@ else if( $submit || $refresh || $mode != "" )
if( $inbox_info['inbox_items'] > $board_config['max_inbox_privmsgs'] )
{
$sql = "DELETE $sql_priority FROM " . PRIVMSGS_TABLE . "
- WHERE ( privmsgs_type = " . PRIVMSGS_NEW_MAIL . "
- OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " )
+ WHERE privmsgs_type = " . PRIVMSGS_NEW_MAIL . "
AND privmsgs_date = " . $inbox_info['oldest_post_time'] . "
AND privmsgs_to_userid = " . $to_userdata['user_id'];
if( !$result = $db->sql_query($sql) )