From 2ff01b6bcb74ca513f398c9a9f297be2bd5810bc Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 22 Apr 2016 13:36:12 -0400 Subject: [PATCH] remove unneeded global --- web/skins/classic/includes/export_functions.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/skins/classic/includes/export_functions.php b/web/skins/classic/includes/export_functions.php index e604536e8..686d0174e 100644 --- a/web/skins/classic/includes/export_functions.php +++ b/web/skins/classic/includes/export_functions.php @@ -589,7 +589,6 @@ else if (document.layers) window.onload=start_slider; function exportEventImagesMaster( $eids ) { - global $SLANG; ob_start(); exportHeader( translate('Images').' Master' ); ?> @@ -599,9 +598,9 @@ function exportEventImagesMaster( $eids ) foreach ($eids as $eid) { //get monitor id and event id $sql = 'SELECT E.MonitorId, E.StartTime, E.Id - FROM Monitors AS M INNER JOIN Events AS E ON (M.Id = E.MonitorId) - WHERE E.Id = ? - '; + FROM Monitors AS M INNER JOIN Events AS E ON (M.Id = E.MonitorId) + WHERE E.Id = ? + '; $event = dbFetchOne( $sql, NULL, array( $eid ) ); $eventMonitorId[$eid] = $event['MonitorId']; $eventPath[$eid] = mygetEventPath( $event );