In failure state populate imageData array to reduce output php errors

pull/3609/head
Isaac Connor 2022-09-21 10:20:13 -04:00
parent 6dab3a57da
commit d3c13e7e99
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ $scale = $scale ? $scale : 0;
$imageData = $Event->getImageSrc($frame, $scale, 0);
if (!$imageData) {
ZM\Error("No data found for Event $eid frame $fid");
$imageData = array();
$imageData = array('hasAnalImage'=>0, 'thumbPath' => '', 'eventPath'=>'');
}
$show = 'capt';