diff options
author | Thomas Pulzer <t.pulzer@kniel.de> | 2016-07-04 12:06:52 +0200 |
---|---|---|
committer | Thomas Pulzer <t.pulzer@kniel.de> | 2016-07-04 12:06:52 +0200 |
commit | bca4f42e146749e5229ca56ddb7551e7bc4a27ab (patch) | |
tree | 95a1cd127ed15c60f7e52a3283def437b9a085ba /lib/private | |
parent | 90b7f74da714209ee9c6a9a3243dacbaee2dc435 (diff) | |
parent | b3fbf8b3f30e3fdd913deacc56072bd49d86529f (diff) | |
download | nextcloud-server-bca4f42e146749e5229ca56ddb7551e7bc4a27ab.tar.gz nextcloud-server-bca4f42e146749e5229ca56ddb7551e7bc4a27ab.zip |
Merge branch 'master' of https://github.com/nextcloud/server
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/SystemTag/SystemTagManager.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/SystemTag/SystemTagManager.php b/lib/private/SystemTag/SystemTagManager.php index 2b0ef03e471..3e32582025f 100644 --- a/lib/private/SystemTag/SystemTagManager.php +++ b/lib/private/SystemTag/SystemTagManager.php @@ -140,10 +140,7 @@ class SystemTagManager implements ISystemTagManager { if (!empty($nameSearchPattern)) { $query->andWhere( - $query->expr()->like( - 'name', - $query->expr()->literal('%' . $this->connection->escapeLikeParameter($nameSearchPattern). '%') - ) + $query->expr()->like('name', $query->createNamedParameter('%' . $this->connection->escapeLikeParameter($nameSearchPattern) . '%')) ); } |