diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2023-02-07 18:32:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 18:32:31 +0100 |
commit | 3804de4b601f205d31280a814ba0b27dadf6c3a8 (patch) | |
tree | 4022ce55148502b45e2237a0956702e486d2af79 | |
parent | 28980adc2951db7778f8492b5b368c4757404027 (diff) | |
parent | 6eed4bd711f5dab877aab9d462c4cf2281bb5386 (diff) | |
download | nextcloud-server-3804de4b601f205d31280a814ba0b27dadf6c3a8.tar.gz nextcloud-server-3804de4b601f205d31280a814ba0b27dadf6c3a8.zip |
Merge pull request #36317 from nextcloud/backport/36268/stable25
[stable25] Fix double where() usage in resource manager
-rw-r--r-- | lib/private/Collaboration/Resources/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php index 8fc3d0dd5ea..fc8804e69b4 100644 --- a/lib/private/Collaboration/Resources/Manager.php +++ b/lib/private/Collaboration/Resources/Manager.php @@ -148,7 +148,7 @@ class Manager implements IManager { ->setFirstResult($start); if ($filter !== '') { - $query->where($query->expr()->iLike('c.name', $query->createNamedParameter('%' . $this->connection->escapeLikeParameter($filter) . '%'))); + $query->andWhere($query->expr()->iLike('c.name', $query->createNamedParameter('%' . $this->connection->escapeLikeParameter($filter) . '%'))); } $result = $query->execute(); |