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) {
|
if ($force) {
|
||||||
$sgids = $existingSG['SharingGroup']['id'];
|
$sgids = $existingSG['SharingGroup']['id'];
|
||||||
$editedSG = $existingSG['SharingGroup'];
|
$editedSG = $existingSG['SharingGroup'];
|
||||||
$attributes = array('name', 'releasability', 'description', 'created', 'modified', 'active');
|
$attributes = ['name', 'releasability', 'description', 'created', 'modified', 'active', 'roaming'];
|
||||||
foreach ($attributes as $a) {
|
foreach ($attributes as $a) {
|
||||||
if (isset($sg[$a])) {
|
if (isset($sg[$a])) {
|
||||||
$editedSG[$a] = $sg[$a];
|
$editedSG[$a] = $sg[$a];
|
||||||
|
|
Loading…
Reference in New Issue