diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-11-27 12:54:31 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-12-03 15:23:21 +0100 |
commit | cc72c6a30dc12b49dec907cd2fcd01766dbda4c1 (patch) | |
tree | e173383453b41ad1493c29b07d14c43c9957f4bc /lib | |
parent | 2d1cc8aaebc567cc006d387921c7fbbed35280ce (diff) | |
download | nextcloud-server-cc72c6a30dc12b49dec907cd2fcd01766dbda4c1.tar.gz nextcloud-server-cc72c6a30dc12b49dec907cd2fcd01766dbda4c1.zip |
Added dav endpoints for system tags
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/systemtag/systemtagobjectmapper.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/systemtag/systemtagobjectmapper.php b/lib/private/systemtag/systemtagobjectmapper.php index 75f2631a010..bb64a35456f 100644 --- a/lib/private/systemtag/systemtagobjectmapper.php +++ b/lib/private/systemtag/systemtagobjectmapper.php @@ -171,6 +171,10 @@ class SystemTagObjectMapper implements ISystemTagObjectMapper { public function haveTag($objIds, $objectType, $tagId, $all = true) { $this->assertTagsExist([$tagId]); + if (!is_array($objIds)) { + $objIds = [$objIds]; + } + $query = $this->connection->getQueryBuilder(); if (!$all) { |