aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index bbbb20fbd6..2e91606910 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1743,6 +1743,8 @@ switch($folder)
AND pm.privmsgs_type = " . PRIVMSGS_SAVED_OUT_MAIL . "
AND u.user_id = pm.privmsgs_from_userid ) )";
break;
+ default:
+ message_die(GENERAL_ERROR, "Could not query private message information. No folder specified.", "", __LINE__, __FILE__, $sql);
}
//
@@ -2010,4 +2012,4 @@ $template->pparse("body");
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
-?> \ No newline at end of file
+?>