diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-08-19 16:39:46 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-08-19 16:39:46 +0000 |
commit | 269421a22f9b2618925362e07e2350f0739eb745 (patch) | |
tree | 2d676b732fba9285dc5eaf630f9e83411f82bd90 /phpBB/includes/ucp/ucp_pm_viewfolder.php | |
parent | 4b9215bd14bc72edeff20a40962d0bd89b21718e (diff) | |
download | forums-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.php | 1 |
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 |