aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/External
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-07-11 10:21:00 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-11 10:21:00 +0200
commit412f6a6eccd7b4b955d63922150dbe2104cd269d (patch)
tree02abc1098df572ce6655f361664e514df56ed00f /apps/files_sharing/lib/External
parent0c09f566c24e45b3d4dc91dc2bddc341e4f76fbd (diff)
downloadnextcloud-server-412f6a6eccd7b4b955d63922150dbe2104cd269d.tar.gz
nextcloud-server-412f6a6eccd7b4b955d63922150dbe2104cd269d.zip
fix unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing/lib/External')
-rw-r--r--apps/files_sharing/lib/External/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php
index a3b037e4982..6a036b663d9 100644
--- a/apps/files_sharing/lib/External/Manager.php
+++ b/apps/files_sharing/lib/External/Manager.php
@@ -636,7 +636,7 @@ class Manager {
$query = 'SELECT `id`, `remote`, `remote_id`, `share_token`, `name`, `owner`, `user`, `mountpoint`, `accepted`
FROM `*PREFIX*share_external`
- WHERE `user` = ? OR `user` IN (?)';
+ WHERE (`user` = ? OR `user` IN (?))';
$parameters = [$this->uid, implode(',',$userGroups)];
if (!is_null($accepted)) {
$query .= ' AND `accepted` = ?';