aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-05-26 12:00:17 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-05-26 12:00:17 +0000
commit54db19aef046fb02525396a921b72941aefd0ab6 (patch)
treeff3c5534a16d8c5627558cc492acee4224efbca5 /phpBB/includes/functions_privmsgs.php
parentc41388ce8ab2268cd97c1c7d2d2791faddf23ea3 (diff)
downloadforums-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.php5
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;
}