files_sharing requires int as file id
This commit is contained in:
parent
e5ba28f934
commit
3b7ded863b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue