diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-05-26 12:00:17 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-05-26 12:00:17 +0000 |
commit | 54db19aef046fb02525396a921b72941aefd0ab6 (patch) | |
tree | ff3c5534a16d8c5627558cc492acee4224efbca5 /phpBB/includes/functions_privmsgs.php | |
parent | c41388ce8ab2268cd97c1c7d2d2791faddf23ea3 (diff) | |
download | forums-54db19aef046fb02525396a921b72941aefd0ab6.tar forums-54db19aef046fb02525396a921b72941aefd0ab6.tar.gz forums-54db19aef046fb02525396a921b72941aefd0ab6.tar.bz2 forums-54db19aef046fb02525396a921b72941aefd0ab6.tar.xz forums-54db19aef046fb02525396a921b72941aefd0ab6.zip |
#27855
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8567 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r-- | phpBB/includes/functions_privmsgs.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 834bcfea51..d01d89a7e3 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -208,6 +208,11 @@ function get_folder($user_id, $folder_id = false) ); } + if ($folder_id !== false && !isset($folder[$folder_id])) + { + trigger_error('UNKNOWN_FOLDER'); + } + return $folder; } |