Fix error handling [Bug #410]

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5540 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2006-02-10 20:43:10 +00:00
parent f2980c0310
commit 54b4ad8282

View file

@ -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' )