files_sharing requires int as file id

This commit is contained in:
Arthur Schiwon 2016-01-26 15:45:37 +01:00
parent e5ba28f934
commit 3b7ded863b
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class EntityTypeCollection extends RootCollection {
* @return bool * @return bool
*/ */
function childExists($name) { function childExists($name) {
$nodes = $this->fileRoot->getById($name); $nodes = $this->fileRoot->getById(intval($name));
return !empty($nodes); return !empty($nodes);
} }