Update GroupIds regardless of changes returned from getFormChanges on Monitor save
This commit is contained in:
parent
2a81877664
commit
5f415873d4
|
@ -565,6 +565,8 @@ if ( canEdit( 'Monitors' ) ) {
|
|||
return;
|
||||
}
|
||||
|
||||
$restart = true;
|
||||
} # end if count(changes)
|
||||
if (
|
||||
( !isset($_POST['newMonitor']['GroupIds']) )
|
||||
or
|
||||
|
@ -581,8 +583,6 @@ if ( canEdit( 'Monitors' ) ) {
|
|||
}
|
||||
}
|
||||
} // end if there has been a change of groups
|
||||
$restart = true;
|
||||
} # end if count(changes)
|
||||
|
||||
if ( ZM_OPT_X10 ) {
|
||||
$x10Changes = getFormChanges( $x10Monitor, $_REQUEST['newX10Monitor'] );
|
||||
|
|
Loading…
Reference in New Issue