Skip to content
Snippets Groups Projects
Commit 31cf3b82 authored by Joas Schilling's avatar Joas Schilling
Browse files

Make sure the share ID is an integer

parent cb8024ca
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ class Remote { ...@@ -63,7 +63,7 @@ class Remote {
\OC_User::getUser() \OC_User::getUser()
); );
if ($externalManager->acceptShare($params['id'])) { if ($externalManager->acceptShare((int) $params['id'])) {
return new \OC_OCS_Result(); return new \OC_OCS_Result();
} }
...@@ -86,7 +86,7 @@ class Remote { ...@@ -86,7 +86,7 @@ class Remote {
\OC_User::getUser() \OC_User::getUser()
); );
if ($externalManager->declineShare($params['id'])) { if ($externalManager->declineShare((int) $params['id'])) {
return new \OC_OCS_Result(); return new \OC_OCS_Result();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment