Fix DB IO placeholder count

This commit is contained in:
Clemens Schwaighofer
2024-12-10 14:59:58 +09:00
parent bd1972d894
commit c8d6263c0f
4 changed files with 64 additions and 20 deletions

View File

@@ -1332,6 +1332,7 @@ class IO
*/
private function __dbCheckQueryParams(string $query, array $params): bool
{
// $this->log->debug('DB QUERY PARAMS REGEX', ConvertPlaceholder::REGEX_LOOKUP_PLACEHOLDERS);
$placeholder_count = $this->__dbCountQueryParams($query);
$params_count = count($params);
if ($params_count != $placeholder_count) {