Fix two more stray queries

This commit is contained in:
2025-09-18 11:10:04 +02:00
parent 92b2cfa391
commit 913fb974c7
2 changed files with 3 additions and 3 deletions

View File

@@ -375,8 +375,8 @@ class Tag
return Registry::get('db')->queryPairs('
SELECT id_tag, tag, slug
FROM tags
WHERE LOWER(tag) LIKE {string:tokens} AND
kind = {string:person}
WHERE LOWER(tag) LIKE :tokens AND
kind = :person
ORDER BY tag ASC',
[
'tokens' => '%' . strtolower(implode('%', $tokens)) . '%',