summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Pulzer <t.pulzer@kniel.de>2016-07-04 12:06:52 +0200
committerThomas Pulzer <t.pulzer@kniel.de>2016-07-04 12:06:52 +0200
commitbca4f42e146749e5229ca56ddb7551e7bc4a27ab (patch)
tree95a1cd127ed15c60f7e52a3283def437b9a085ba /lib/private
parent90b7f74da714209ee9c6a9a3243dacbaee2dc435 (diff)
parentb3fbf8b3f30e3fdd913deacc56072bd49d86529f (diff)
downloadnextcloud-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.php5
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) . '%'))
);
}