Fix deprecation warning due to implicit conversion to integer. Make it explicit.
parent
69ae16ffd7
commit
2aff356948
|
@ -65,7 +65,7 @@ foreach ( $rows as $row ) {
|
|||
$row['imgHtml'] = '<img id="thumbnail' .$event->Id(). '" src="' .$imgSrc. '" alt="Event '.$event->Id().'" width="' .validInt($event->ThumbnailWidth()). '" height="' .validInt($event->ThumbnailHeight()).'" stream_src="' .$streamSrc. '" still_src="' .$imgSrc. '" loading="lazy" />';
|
||||
$row['Name'] = validHtmlStr($row['Name']);
|
||||
$row['StartDateTime'] = $dateTimeFormatter->format(strtotime($row['StartDateTime']));
|
||||
$row['Length'] = gmdate('H:i:s', $row['Length'] );
|
||||
$row['Length'] = gmdate('H:i:s', intval($row['Length']));
|
||||
|
||||
$returned_rows[] = $row;
|
||||
} # end foreach row matching search
|
||||
|
|
Loading…
Reference in New Issue