From 54b4ad8282c88e1c588b1b83c6753769a63e224b Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Fri, 10 Feb 2006 20:43:10 +0000 Subject: [PATCH] Fix error handling [Bug #410] git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5540 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/privmsg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 9ce1ca1b30..e57d2ff3e6 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -1309,7 +1309,7 @@ else if ( $submit || $refresh || $mode != '' ) if ( !$db->sql_query($sql, END_TRANSACTION) ) { - message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql_info); + message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql); } if ( $mode != 'edit' )