[Stable10] Fixes not allowed increasing of link share permissions
Backport of #2100 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
46a6cbadfc
commit
8315891418
|
@ -637,6 +637,7 @@ class Share20OCS {
|
|||
|
||||
if ($newPermissions !== null) {
|
||||
$share->setPermissions($newPermissions);
|
||||
$permissions = $newPermissions;
|
||||
}
|
||||
|
||||
if ($expireDate === '') {
|
||||
|
|
Loading…
Reference in New Issue