In failure state populate imageData array to reduce output php errors
parent
6dab3a57da
commit
d3c13e7e99
|
@ -63,7 +63,7 @@ $scale = $scale ? $scale : 0;
|
||||||
$imageData = $Event->getImageSrc($frame, $scale, 0);
|
$imageData = $Event->getImageSrc($frame, $scale, 0);
|
||||||
if (!$imageData) {
|
if (!$imageData) {
|
||||||
ZM\Error("No data found for Event $eid frame $fid");
|
ZM\Error("No data found for Event $eid frame $fid");
|
||||||
$imageData = array();
|
$imageData = array('hasAnalImage'=>0, 'thumbPath' => '', 'eventPath'=>'');
|
||||||
}
|
}
|
||||||
|
|
||||||
$show = 'capt';
|
$show = 'capt';
|
||||||
|
|
Loading…
Reference in New Issue