Skip to content

Commit

Permalink
Added isset check
Browse files Browse the repository at this point in the history
  • Loading branch information
Manoj L committed Aug 25, 2014
1 parent 314d7e0 commit 1127795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/joomla/sidebars/submenu.php
Expand Up @@ -25,7 +25,7 @@
<?php else :
if (strlen($item[1])) : ?>
<a href="<?php echo JFilterOutput::ampReplace($item[1]); ?>">
<?php if (!empty($item[3])) : ?>
<?php if (isset ($item[3]) && !empty($item[3])) : ?>
<span class="icon-<?php echo $item[3];?>"></span>
<?php endif; ?>
<?php echo $item[0]; ?>
Expand Down

0 comments on commit 1127795

Please sign in to comment.