Bug fix for DB\IO param prepare call with wrong param array check

The global param array in the class instead of the param array passed
to the method was checked
This commit is contained in:
Clemens Schwaighofer
2023-10-31 10:17:56 +09:00
parent facf8adaf7
commit caf03421a7
2 changed files with 15 additions and 2 deletions

View File

@@ -1186,7 +1186,7 @@ class IO
*/
private function __dbDebugPrepareContext(string $query, array $params = []): array
{
if ($this->params === []) {
if ($params === []) {
return [];
}
$error_data = [