diff options
Diffstat (limited to 'apps/files_sharing/api/remote.php')
-rw-r--r-- | apps/files_sharing/api/remote.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/api/remote.php b/apps/files_sharing/api/remote.php index 06b2e6c1687..4b7192994a7 100644 --- a/apps/files_sharing/api/remote.php +++ b/apps/files_sharing/api/remote.php @@ -63,7 +63,7 @@ class Remote { \OC_User::getUser() ); - if ($externalManager->acceptShare($params['id'])) { + if ($externalManager->acceptShare((int) $params['id'])) { return new \OC_OCS_Result(); } @@ -86,7 +86,7 @@ class Remote { \OC_User::getUser() ); - if ($externalManager->declineShare($params['id'])) { + if ($externalManager->declineShare((int) $params['id'])) { return new \OC_OCS_Result(); } |