fix bracket

This commit is contained in:
Isaac Connor 2018-01-23 13:15:48 -08:00
parent fd2d2a0d77
commit 933259f9a5
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class MonitorsController extends AppController {
$func = $Monitor['Function']; $func = $Monitor['Function'];
// We don't pass the request data as the monitor object because it may be a subset of the full monitor array // We don't pass the request data as the monitor object because it may be a subset of the full monitor array
$this->daemonControl( $this->Monitor->id, 'stop' ); $this->daemonControl( $this->Monitor->id, 'stop' );
if ( ( $func != 'None' ) and ( (!defined('ZM_SERVER_ID']) or ($Monitor['ServerId']==ZM_SERVER_ID) ) ) { if ( ( $func != 'None' ) and ( (!defined('ZM_SERVER_ID')) or ($Monitor['ServerId']==ZM_SERVER_ID) ) ) {
$this->daemonControl( $this->Monitor->id, 'start' ); $this->daemonControl( $this->Monitor->id, 'start' );
} }
} // end function edit } // end function edit