mirror of https://github.com/MISP/MISP
fix: [rest] Allow to edit roaming mode of sharing group
parent
9e0e58aa32
commit
695af2dab1
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue