Skip to content

Commit 52542ea

Browse files
Fix width=>Width
1 parent 56c0aad commit 52542ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/ajax/events.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function queryRequest($filter, $search, $advsearch, $sort, $offset, $order, $lim
320320
if (!$event->canView()) continue;
321321
if ($event->Monitor()->Deleted()) continue;
322322

323-
$scale = $event->width() ? intval(5*100*ZM_WEB_LIST_THUMB_WIDTH / $event->Width()) : 100;
323+
$scale = $event->Width() ? intval(5*100*ZM_WEB_LIST_THUMB_WIDTH / $event->Width()) : 100;
324324
$imgSrc = $event->getThumbnailSrc(array(), '&');
325325
$streamSrc = $event->getStreamSrc(array(
326326
'mode'=>'jpeg', 'scale'=>$scale, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'replay'=>'single', 'rate'=>'400'), '&');

0 commit comments

Comments
 (0)