diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-14 17:46:03 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-14 17:46:03 +0300 |
commit | 9666786655684ab0e99b84f388465ea02fdeebec (patch) | |
tree | 2ac0bb98592ab53178a0430313c7874b1b3d2894 | |
parent | aef790a34694ffc2152a652600ce51d8e837fc64 (diff) |
[stable9] Fixes not allowed increasing of link share permissions
Backport of #2100
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | apps/files_sharing/api/share20ocs.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/api/share20ocs.php b/apps/files_sharing/api/share20ocs.php index 4aaeeb0c710..2c9cce3e887 100644 --- a/apps/files_sharing/api/share20ocs.php +++ b/apps/files_sharing/api/share20ocs.php @@ -611,6 +611,7 @@ class Share20OCS { if ($newPermissions !== null) { $share->setPermissions($newPermissions); + $permissions = $newPermissions; } if ($expireDate === '') { |