fix missing daemons definition

This commit is contained in:
Isaac Connor 2018-11-28 09:12:22 -05:00
parent 6de704922c
commit f5328265ef
1 changed files with 1 additions and 0 deletions

View File

@ -361,6 +361,7 @@ class MonitorsController extends AppController {
)); ));
$monitor = $monitor['Monitor']; $monitor = $monitor['Monitor'];
$daemons = array();
if ( ! $daemon ) { if ( ! $daemon ) {
if ( $monitor['Function'] == 'Monitor' ) { if ( $monitor['Function'] == 'Monitor' ) {
array_push($daemons, 'zmc'); array_push($daemons, 'zmc');