Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ committed Jun 13, 2018
1 parent 5ee8a5e commit 050952b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/mod_tags_similar/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
<?php foreach ($list as $i => $item) : ?>
<li>
<?php if (($item->type_alias === 'com_users.category') || ($item->type_alias === 'com_banners.category')) : ?>
<?php if (!empty($item->core_title)) :
echo htmlspecialchars($item->core_title, ENT_COMPAT, 'UTF-8');
endif; ?>
<?php if (!empty($item->core_title)) : ?>
<?php echo htmlspecialchars($item->core_title, ENT_COMPAT, 'UTF-8'); ?>
<?php endif; ?>
<?php else : ?>
<a href="<?php echo JRoute::_($item->link); ?>">
<?php if (!empty($item->core_title)) :
echo htmlspecialchars($item->core_title, ENT_COMPAT, 'UTF-8');
endif; ?>
<?php if (!empty($item->core_title)) : ?>
<?php echo htmlspecialchars($item->core_title, ENT_COMPAT, 'UTF-8'); ?>
<?php endif; ?>
</a>
<?php endif; ?>
</li>
Expand Down

0 comments on commit 050952b

Please sign in to comment.