Skip to content

Commit cd9b7f3

Browse files
author
Manpreet
committed
fix typo
1 parent 6f00d20 commit cd9b7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fragments/graphql/preview/image_text.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<?php if ($image): ?>
1717
<?php
1818
$media = rex_media::get($image);
19-
if ($image): ?>
19+
if ($media): ?>
2020
<div class="col-lg-4">
2121
<?php if($media->isImage()): ?>
2222
<img src="<?= $media->getUrl() ?>"

0 commit comments

Comments
 (0)