Skip to content

Commit 97f14d1

Browse files
committed
get debug info for sql tests
1 parent 9e71a3c commit 97f14d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpBB/phpbb/db/driver/driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ function sql_error($sql = '')
973973
$this->sql_error_sql = $sql;
974974

975975
$this->sql_error_returned = $this->_sql_error();
976-
var_dump($sql);
976+
echo "\n" . $this->sql_error_returned['message'] . " $sql\n";
977977

978978
if (!$this->return_on_error)
979979
{

0 commit comments

Comments
 (0)