mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
3f4ea178d6
commit
07148f9f31
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue