mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
Re-added the error message and query echo to DEBUG error message
PLEASE do not remove it, it is very helpfull when debugging errors git-svn-id: file:///svn/phpbb/trunk@276 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -83,7 +83,8 @@ if(!$result = $db->sql_query($sql))
|
||||
{
|
||||
if(DEBUG)
|
||||
{
|
||||
error_die(SQL_QUERY, "Error getting memberlist.", __LINE__, __FILE__);
|
||||
$error = $db->sql_error();
|
||||
error_die(SQL_QUERY, "Error getting memberlist.<br>Reason: ".$error['message']"<br>Query: $sql", __LINE__, __FILE__);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -187,4 +188,4 @@ if(($selected_members = $db->sql_numrows($result)) > 0)
|
||||
}
|
||||
|
||||
include('includes/page_tail.'.$phpEx);
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user