From e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 5 Sep 2004 09:54:48 +0000 Subject: lets pm working again. git-svn-id: file:///svn/phpbb/trunk@4979 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_pm.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/includes/ucp/ucp_pm.php') diff --git a/phpBB/includes/ucp/ucp_pm.php b/phpBB/includes/ucp/ucp_pm.php index c7d9fc11d3..d0eb0d8eae 100644 --- a/phpBB/includes/ucp/ucp_pm.php +++ b/phpBB/includes/ucp/ucp_pm.php @@ -333,6 +333,11 @@ class ucp_pm extends module 'MSG_ID' => $msg_id) ); + if (!$msg_id) + { + trigger_error('NO_MESSAGE'); + } + include($phpbb_root_path . 'includes/ucp/ucp_pm_viewmessage.'.$phpEx); view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row); -- cgit v1.2.1