From 79e041d0f009a926d2e6ad8545f424efbd06a159 Mon Sep 17 00:00:00 2001 From: r01k Date: Fri, 20 Aug 2021 22:27:50 -0400 Subject: [PATCH] Fixed bug that caused 'Call to undefined function Error()' in control_functions.php. Exception was being raised due to logger.php not being included in control_functions.php. --- web/includes/control_functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ) {