From a8d60aa727b7decd5e836abadf2171258b62c422 Mon Sep 17 00:00:00 2001 From: stevegilvarry Date: Wed, 2 Jul 2014 23:58:44 +1000 Subject: [PATCH] Fixed missing $ on ARRAY(event[id]). Fixes #455 --- web/skins/flat/includes/export_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/flat/includes/export_functions.php b/web/skins/flat/includes/export_functions.php index 15625a4de..a2538c866 100644 --- a/web/skins/flat/includes/export_functions.php +++ b/web/skins/flat/includes/export_functions.php @@ -146,7 +146,7 @@ function exportEventFrames( $event, $exportDetail, $exportImages ) { global $SLANG; - $frames = dbFetchAll( 'SELECT *, unix_timestamp(TimeStamp) AS UnixTimeStamp FROM Frames WHERE EventID = ? ORDER BY FrameId', NULL, ARRAY(event['Id']) ); + $frames = dbFetchAll( 'SELECT *, unix_timestamp(TimeStamp) AS UnixTimeStamp FROM Frames WHERE EventID = ? ORDER BY FrameId', NULL, ARRAY( $event['Id'] ) ); ob_start(); exportHeader( $SLANG['Frames']." ".$event['Id'] );