1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Resolved e_db_mysql::db_Query() logging inconsistency

Logging change made in f34eeaf369 for e_db_pdo was not applied to e_db_mysql

This commit makes the behaviors consistent between the two implementations of e_db.
This commit is contained in:
Nick Liu
2019-12-23 17:08:01 +01:00
parent 9677db1c1c
commit a4ad81dd4c

View File

@@ -488,7 +488,7 @@ class e_db_mysql implements e_db
if ($debug == 'now')
{
echo "<pre>** $query</pre><br />\n";
$this->dbg->log($query);
}
if ($debug !== FALSE || strstr($_SERVER['QUERY_STRING'], 'showsql'))
{