From 9666786655684ab0e99b84f388465ea02fdeebec Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 14 Nov 2016 15:46:03 +0100 Subject: [PATCH] [stable9] Fixes not allowed increasing of link share permissions Backport of #2100 Signed-off-by: Roeland Jago Douma --- apps/files_sharing/api/share20ocs.php | 1 + 1 file changed, 1 insertion(+) 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 === '') {