Project

General

Profile

Bug #19362 ยป 9401_sqlDebug.diff

Administrator Admin, 2008-09-21 13:26

View differences:

t3lib/class.t3lib_db.php (working copy)
$error = $this->sql_error();
if ($error) {
echo t3lib_div::view_array(array(
debug(array(
'caller' => 't3lib_DB::'.$func,
'ERROR' => $error,
'lastBuiltQuery' => ($query ? $query : $this->debug_lastBuiltQuery),
'debug_backtrace' => t3lib_div::debug_trail()
));
), 'sqlDebug');
}
}
    (1-1/1)