From b9a15d1465fd6f37e6d7a4dce0dd234d71fbfae6 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 23 Jul 2016 13:37:00 -0400 Subject: [PATCH] fix missed to conversion --- web/includes/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/Event.php b/web/includes/Event.php index edab991d7..3d5a987ee 100644 --- a/web/includes/Event.php +++ b/web/includes/Event.php @@ -222,7 +222,7 @@ function getImageSrc( $frame, $scale=SCALE_BASE, $captureOnly=false, $overwrite= $analImage = sprintf( "%0".ZM_EVENT_IMAGE_DIGITS."d-analyse.jpg", $frame['FrameId'] ); $analPath = $eventPath.'/'.$analImage; - $thumbAnalPath = ZM_DIR_IMAGES.'/'.$event['Id'].'-'.$analImage; + $thumbAnalPath = ZM_DIR_IMAGES.'/'.$this->{'Id'}.'-'.$analImage; //echo "AI:$analImage, AP:$analPath, TAP:$thumbAnalPath
"; $alarmFrame = $frame['Type']=='Alarm';