fix: [rest] Allow to edit roaming mode of sharing group

pull/6830/head
Jakub Onderka 2021-01-07 16:57:26 +01:00
parent 9e0e58aa32
commit 695af2dab1
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ class SharingGroup extends AppModel
if ($force) {
$sgids = $existingSG['SharingGroup']['id'];
$editedSG = $existingSG['SharingGroup'];
$attributes = array('name', 'releasability', 'description', 'created', 'modified', 'active');
$attributes = ['name', 'releasability', 'description', 'created', 'modified', 'active', 'roaming'];
foreach ($attributes as $a) {
if (isset($sg[$a])) {
$editedSG[$a] = $sg[$a];