summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-01-26 15:45:37 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-01-26 15:45:37 +0100
commit3b7ded863b0b8175b10a3140586507ee3d027823 (patch)
treeaa4ddd1c05ce5c0d3b7b93a7d32000eb90367873 /apps/dav
parente5ba28f9343b3f9fdcf5d2e53c6d1f085f20639d (diff)
downloadnextcloud-server-3b7ded863b0b8175b10a3140586507ee3d027823.tar.gz
nextcloud-server-3b7ded863b0b8175b10a3140586507ee3d027823.zip
files_sharing requires int as file id
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/comments/entitytypecollection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/comments/entitytypecollection.php b/apps/dav/lib/comments/entitytypecollection.php
index 485d90b3259..f49aac747c2 100644
--- a/apps/dav/lib/comments/entitytypecollection.php
+++ b/apps/dav/lib/comments/entitytypecollection.php
@@ -112,7 +112,7 @@ class EntityTypeCollection extends RootCollection {
* @return bool
*/
function childExists($name) {
- $nodes = $this->fileRoot->getById($name);
+ $nodes = $this->fileRoot->getById(intval($name));
return !empty($nodes);
}