diff --git a/privmsg.php b/privmsg.php
index 2b75260a..c2a876a0 100644
--- a/privmsg.php
+++ b/privmsg.php
@@ -1319,6 +1319,10 @@ else if ( $submit || $refresh || $mode != '' )
{
$post_a = $lang['EDIT_MESSAGE'];
}
+ else
+ {
+ pm_die($lang['NONE_SELECTED']);
+ }
$s_hidden_fields = '';
$s_hidden_fields .= '';