aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewfolder.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-08-19 16:39:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-08-19 16:39:46 +0000
commit269421a22f9b2618925362e07e2350f0739eb745 (patch)
tree2d676b732fba9285dc5eaf630f9e83411f82bd90 /phpBB/includes/ucp/ucp_pm_viewfolder.php
parent4b9215bd14bc72edeff20a40962d0bd89b21718e (diff)
downloadforums-269421a22f9b2618925362e07e2350f0739eb745.tar
forums-269421a22f9b2618925362e07e2350f0739eb745.tar.gz
forums-269421a22f9b2618925362e07e2350f0739eb745.tar.bz2
forums-269421a22f9b2618925362e07e2350f0739eb745.tar.xz
forums-269421a22f9b2618925362e07e2350f0739eb745.zip
- fixing some minor bugs...
git-svn-id: file:///svn/phpbb/trunk@5203 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewfolder.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php
index e83ae095ea..ebed926a25 100644
--- a/phpBB/includes/ucp/ucp_pm_viewfolder.php
+++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php
@@ -206,6 +206,7 @@ function get_pm_from($folder_id, $folder, $user_id, $url, $type = 'folder')
if ($type != 'folder')
{
$folder_sql = ($type == 'unread') ? 't.unread = 1' : 't.new = 1';
+ $folder_sql .= ' AND t.folder_id NOT IN (' . PRIVMSGS_HOLD_BOX . ', ' . PRIVMSGS_NO_BOX . ')';
$folder_id = PRIVMSGS_INBOX;
}
else