diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2008-05-26 12:05:22 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-05-26 12:05:22 +0000 |
| commit | 28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6 (patch) | |
| tree | c93c4a117c364426cb8394c6f2004041bddd2b79 /phpBB/includes/functions_privmsgs.php | |
| parent | 0c1fa73423b230401eff5c1aeeeffeaefd97a1ac (diff) | |
| download | forums-28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6.tar forums-28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6.tar.gz forums-28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6.tar.bz2 forums-28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6.tar.xz forums-28e8c3ea8587f7dc2d37068a92ebd9d0dfc230c6.zip | |
merge
git-svn-id: file:///svn/phpbb/trunk@8570 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; } |
