diff --git a/web/includes/control_functions.php b/web/includes/control_functions.php index 3fe131fab..a2744b14c 100644 --- a/web/includes/control_functions.php +++ b/web/includes/control_functions.php @@ -1,5 +1,7 @@ Control(); @@ -218,7 +220,7 @@ function buildControlCommand($monitor) { } } } else { - Error('Invalid control parameter: ' . $_REQUEST['control'] ); + ZM\Error('Invalid control parameter: ' . $_REQUEST['control'] ); } } elseif ( isset($_REQUEST['x']) && isset($_REQUEST['y']) ) { if ( $_REQUEST['control'] == 'moveMap' ) {