diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2004-09-05 09:54:48 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-09-05 09:54:48 +0000 |
| commit | e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7 (patch) | |
| tree | 6cf1eef5f2254d082f2879eafdaa52ec7e3de1cc /phpBB/includes/ucp/ucp_pm.php | |
| parent | 57b188b7afa66b68ef75ee69bc06cd8f14b3fed1 (diff) | |
| download | forums-e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7.tar forums-e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7.tar.gz forums-e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7.tar.bz2 forums-e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7.tar.xz forums-e3eaeef0f78f7db25072e2d2705d7411cdaa0fe7.zip | |
lets pm working again.
git-svn-id: file:///svn/phpbb/trunk@4979 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_pm.php | 5 |
1 files changed, 5 insertions, 0 deletions
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); |
