Code: Select all
0 - Using $this when not in object context
All clean and tailormade templates by me. Only those 2 sites use the Random Image Module.
Moderator: ooffick
Post by Gasoline » Tue May 22, 2018 4:18 pm
Code: Select all
0 - Using $this when not in object context
Post by deleted user » Tue May 22, 2018 4:20 pm
Post by Gasoline » Tue May 22, 2018 4:31 pm
Yup, I found that already. That was the fix for me: https://github.com/joomla/joomla-cms/pull/20533/filesmbabker wrote:See https://github.com/joomla/joomla-cms/pull/20533 and other related forum threads.
Post by Cre8iv » Wed May 23, 2018 6:31 am
Code: Select all
<?php if ($link) : ?>
<a href="<?php echo $link; ?>">
<?php endif; ?>
<?php echo JHtml::_('image', $image->folder . '/' . htmlspecialchars($image->name, ENT_COMPAT, 'UTF-8'), htmlspecialchars($image->name, ENT_COMPAT, 'UTF-8'), array('width' => $image->width, 'height' => $image->height)); ?>
<?php if ($link) : ?>
</a>
<?php endif; ?>
Return to “Joomla! 3.x Bug Reporting”
© 2005 - 2024 Open Source Matters, Inc. All Rights Reserved.