mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Fixes #2890 - sql insert() debug info using PDO.
This commit is contained in:
@@ -475,7 +475,8 @@ class e_db_mysql
|
|||||||
}
|
}
|
||||||
if ($debug !== FALSE || strstr($_SERVER['QUERY_STRING'], 'showsql'))
|
if ($debug !== FALSE || strstr($_SERVER['QUERY_STRING'], 'showsql'))
|
||||||
{
|
{
|
||||||
$queryinfo[] = "<b>{$qry_from}</b>: $query";
|
$debugQry = is_array($query) ? print_a($query,true) : $query;
|
||||||
|
$queryinfo[] = "<b>{$qry_from}</b>: ".$debugQry;
|
||||||
}
|
}
|
||||||
if ($log_type != '')
|
if ($log_type != '')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user