1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Fixes #2890 - sql insert() debug info using PDO.

This commit is contained in:
Cameron
2017-11-30 12:40:06 -08:00
parent 9b81eed759
commit a7b7801766

View File

@@ -475,7 +475,8 @@ class e_db_mysql
}
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 != '')
{