Remove offending extra comma

This commit is contained in:
Isaac Connor 2022-02-14 09:47:59 -05:00
parent 91b536b868
commit b6d2d96d11
1 changed files with 4 additions and 3 deletions

View File

@ -115,10 +115,11 @@ xhtmlHeaders(__FILE__, translate('Frame').' - '.$Event->Id().' - '.$Frame->Frame
<div>
<p id="image">
<?php
if ( $imageData['hasAnalImage'] ) {
if ($imageData['hasAnalImage']) {
echo sprintf('<a href="?view=frame&amp;eid=%d&amp;fid=%d&scale=%d&amp;show=%s" title="Click to display frame %s analysis">',
$Event->Id(), $Frame->FrameId(), $scale, ( $show=='anal'?'capt':'anal' ),
( $show=='anal'?'without':'with' ),
$Event->Id(), $Frame->FrameId(), $scale,
($show=='anal'?'capt':'anal'),
($show=='anal'?'without':'with')
);
}
?>