diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-12 15:44:50 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-18 22:15:17 +0100 |
commit | 2d16ba908478748a655a3dfceb361fd04fe952d9 (patch) | |
tree | 4c921d8bd3260eb37b4b20fb32837a65606b3093 /apps/dav/lib/carddav/carddavbackend.php | |
parent | 3f041a5b4beee47cbff693cb97d6f8337c128bb7 (diff) | |
download | nextcloud-server-2d16ba908478748a655a3dfceb361fd04fe952d9.tar.gz nextcloud-server-2d16ba908478748a655a3dfceb361fd04fe952d9.zip |
Fix join condition for oracle
Diffstat (limited to 'apps/dav/lib/carddav/carddavbackend.php')
-rw-r--r-- | apps/dav/lib/carddav/carddavbackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/carddav/carddavbackend.php b/apps/dav/lib/carddav/carddavbackend.php index 8385f4857d3..762946a4fd2 100644 --- a/apps/dav/lib/carddav/carddavbackend.php +++ b/apps/dav/lib/carddav/carddavbackend.php @@ -115,7 +115,7 @@ class CardDavBackend implements BackendInterface, SyncSupport { $query = $this->db->getQueryBuilder(); $result = $query->select(['a.id', 'a.uri', 'a.displayname', 'a.principaluri', 'a.description', 'a.synctoken', 's.uri', 's.access']) ->from('dav_shares', 's') - ->join('s', 'addressbooks', 'a', 's.resourceid = a.id') + ->join('s', 'addressbooks', 'a', $query->expr()->eq('s.resourceid', 'a.id')) ->where($query->expr()->in('s.principaluri', $query->createParameter('principaluri'))) ->andWhere($query->expr()->eq('s.type', $query->createParameter('type'))) ->setParameter('type', 'addressbook') |