30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-25 01:02:36 +00:00

Small code simplify

This commit is contained in:
Tuan Pham Ngoc 2021-10-28 22:06:16 +07:00
parent 56d3984ece
commit 2b84808ce3

View File

@ -150,7 +150,7 @@ $listDirn = $this->escape($this->state->get('list.direction'));
</div>
<?php endif; ?>
<?php if (($this->params->get('show_link_description')) && ($item->description != '')) : ?>
<?php if ($this->params->get('show_link_description') && ($item->description != '')) : ?>
<div class="mt-2 mb-2">
<?php $images = json_decode($item->images); ?>
<?php if (!empty($images->image_first)) : ?>