Skip to content

Commit 8731d82

Browse files
committed
CS
1 parent 3d9adc0 commit 8731d82

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/com_finder/tmpl/search/default_result.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
if ($show_image)
5555
{
5656
$resultImageObject = $this->result->getImage();
57-
$imageclass = $this->params->get('image_class', '');
58-
$image = HTMLHelper::cleanImageURL($resultImageObject->url);
57+
$imageclass = $this->params->get('image_class', '');
58+
$image = HTMLHelper::cleanImageURL($resultImageObject->url);
5959

6060
// Set lazyloading only for images which have width and height attributes
6161
if ((isset($image->attributes['width']) && (int) $image->attributes['width'] > 0)
@@ -90,12 +90,12 @@
9090
<?php endif; ?>
9191
</p>
9292
<?php if ($show_image && isset($image)) : ?>
93-
<figure class="<?php echo htmlspecialchars($imageclass, ENT_COMPAT, 'UTF-8'); ?> result__image">
94-
<img src="<?php echo htmlspecialchars($image->url, ENT_COMPAT, 'UTF-8'); ?>"
93+
<figure class="<?php echo htmlspecialchars($imageclass, ENT_COMPAT, 'UTF-8'); ?> result__image">
94+
<img src="<?php echo htmlspecialchars($image->url, ENT_COMPAT, 'UTF-8'); ?>"
9595
<?php echo $alt; ?>
9696
<?php echo $extraAttr; ?>
97-
/>
98-
</figure>
97+
/>
98+
</figure>
9999
<?php endif; ?>
100100
<?php if ($show_description && $description !== '') : ?>
101101
<p class="result__description">

0 commit comments

Comments
 (0)