mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-14 05:36:30 +02:00
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:
@ -1309,7 +1309,7 @@ else if ( $submit || $refresh || $mode != '' )
|
|||||||
|
|
||||||
if ( !$db->sql_query($sql, END_TRANSACTION) )
|
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' )
|
if ( $mode != 'edit' )
|
||||||
|
Reference in New Issue
Block a user