Make sure the share ID is an integer
This commit is contained in:
parent
cb8024ca14
commit
31cf3b8288
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue