diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-03-02 10:54:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-02 10:54:28 +0300 |
commit | 15f6e8dc0a7074bb027dd285aea94a4e968c37d4 (patch) | |
tree | ffd84dd96fc6faa1ed00e210ce2b516fd7893f7b /apps/files_sharing | |
parent | 077f07111792546249b9dddc421005eff1c06028 (diff) | |
parent | 198cd4f83e4b968c8eced9c8287ea8721614a695 (diff) |
Merge pull request #3658 from GreenArchon/stable11_issue_#3461
[stable11] Typecast shared mount's storage_id to int as documented + some refactor to avoid similar bugs
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/SharedMount.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index 2ef5e15b778..d5ae303390f 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -253,7 +253,7 @@ class SharedMount extends MountPoint implements MoveableMount { $row = $result->fetch(); $result->closeCursor(); if ($row) { - return $row['storage']; + return (int)$row['storage']; } return -1; } |