diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index c333c60f8d..2e83eac189 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -157,7 +157,7 @@ if($mode == "read") VALUES ($privmsg_sent_id, '" . stripslashes($privmsg['privmsgs_text']) . "')"; if(!$pm_sent_text_status = $db->sql_query($sql)) { - error_die(SQL_QUERY, "Could not insert private message sent text.", __LINE__, __FILE__); + error_die(SQL_QUERY, "Could not insert private message sent text.
$sql", __LINE__, __FILE__); } } }