diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-13 18:06:28 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-13 19:18:34 +0200 |
commit | bba59bf815c3189432234ebce88ee5d0c9cc326c (patch) | |
tree | a3d1a0d6aa82e8b082dee089cdc9543eb65aed8e /lib | |
parent | 54491e8c68a1973bf6ea3622310fba68bf9d4f43 (diff) | |
download | nextcloud-server-bba59bf815c3189432234ebce88ee5d0c9cc326c.tar.gz nextcloud-server-bba59bf815c3189432234ebce88ee5d0c9cc326c.zip |
Cast file id's to int so we can compare them properly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 2a28e6fce88..6749fcd55d2 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1182,6 +1182,7 @@ class View { * @return string|null */ public function getPath($id) { + $id = (int) $id; $manager = Filesystem::getMountManager(); $mounts = $manager->findIn($this->fakeRoot); $mounts[] = $manager->find($this->fakeRoot); |