Update GroupIds regardless of changes returned from getFormChanges on Monitor save

This commit is contained in:
Isaac Connor 2018-04-25 09:32:15 -04:00
parent 2a81877664
commit 5f415873d4
1 changed files with 6 additions and 6 deletions

View File

@ -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'] );