summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-04-10 17:59:40 +0200
committerRobin Appelman <robin@icewind.nl>2017-04-10 17:59:40 +0200
commita555672f2106e7365e0c5351bbd60e7afc161d80 (patch)
treeb6487f24e0a8f223d60ac2a2b44bad8fa515303a /apps/federatedfilesharing/lib
parent18580395d4095842462e035a2d947e716413d2fd (diff)
downloadnextcloud-server-a555672f2106e7365e0c5351bbd60e7afc161d80.tar.gz
nextcloud-server-a555672f2106e7365e0c5351bbd60e7afc161d80.zip
properly quota table names in getSharesInFolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r--apps/federatedfilesharing/lib/FederatedShareProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php
index 9063bbf7450..5623b60ad06 100644
--- a/apps/federatedfilesharing/lib/FederatedShareProvider.php
+++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php
@@ -608,7 +608,7 @@ class FederatedShareProvider implements IShareProvider {
);
}
- $qb->innerJoin('s', 'filecache' ,'f', 's.file_source = f.fileid');
+ $qb->innerJoin('s', 'filecache' ,'f', $qb->expr()->eq('s.file_source', 'f.fileid'));
$qb->andWhere($qb->expr()->eq('f.parent', $qb->createNamedParameter($node->getId())));
$qb->orderBy('id');