Use named parameter instead of direct value for system tags search param (#25380)
This commit is contained in:
parent
21b5533b83
commit
dc21a38a85
|
@ -142,7 +142,7 @@ class SystemTagManager implements ISystemTagManager {
|
|||
$query->andWhere(
|
||||
$query->expr()->like(
|
||||
'name',
|
||||
$query->expr()->literal('%' . $this->connection->escapeLikeParameter($nameSearchPattern). '%')
|
||||
$query->createNamedParameter('%' . $this->connection->escapeLikeParameter($nameSearchPattern). '%')
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue