diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-07-07 13:53:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-07 13:53:53 +0300 |
commit | 24ac177f8355f1769ecc1961edeff0144ea830fa (patch) | |
tree | 39704868e8d7a2c410e8221c4c11189d698a439a /lib | |
parent | 64a15191e4397da9712d4d17675993a9acdab31e (diff) |
[stable9] Use named parameter instead of direct value for system tags search param (#25380) (#25396)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/systemtag/systemtagmanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/systemtag/systemtagmanager.php b/lib/private/systemtag/systemtagmanager.php index 76a60a91328..6801507eca3 100644 --- a/lib/private/systemtag/systemtagmanager.php +++ b/lib/private/systemtag/systemtagmanager.php @@ -126,7 +126,7 @@ class SystemTagManager implements ISystemTagManager { $query->andWhere( $query->expr()->like( 'name', - $query->expr()->literal('%' . $this->connection->escapeLikeParameter($nameSearchPattern). '%') + $query->createNamedParameter('%' . $this->connection->escapeLikeParameter($nameSearchPattern). '%') ) ); } |