1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/11480] Move the test into get_folder()

PHPBB3-11480
This commit is contained in:
Tristan Darricau
2014-07-30 15:08:04 +02:00
parent 0ce27eacb1
commit 8bdfda723c
2 changed files with 1 additions and 7 deletions

View File

@@ -208,7 +208,7 @@ function get_folder($user_id, $folder_id = false)
);
}
if ($folder_id !== false && !isset($folder[$folder_id]))
if ($folder_id !== false && $folder_id !== PRIVMSGS_HOLD_BOX && !isset($folder[$folder_id]))
{
trigger_error('UNKNOWN_FOLDER');
}