1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Test isolation fixes for e_db_abstractTest

Also needed a null check in e_db_pdo::db_Query()
This commit is contained in:
Nick Liu
2020-01-17 20:23:13 +01:00
parent a0f4489e41
commit 91660a2c32
2 changed files with 11 additions and 0 deletions

View File

@@ -439,6 +439,7 @@ class e_db_pdo implements e_db
if(is_array($query))
{
$query['BIND'] = isset($query['BIND']) ? $query['BIND'] : null;
$query = "PREPARE: " . $query['PREPARE'] . "<br />BIND:" . print_a($query['BIND'], true); // ,true);
}