Skip to content

Commit

Permalink
compatible with PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbearman committed Oct 27, 2021
1 parent 95a53dd commit dcec279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class ContactHelperRoute extends \Joomla\Component\Contact\Site\Helper\RouteHelp
<?php if ($this->params->get('show_country_headings') && !empty($item->country)) : ?>
<?php $location[] = $item->country; ?>
<?php endif; ?>
<?php echo implode($location, ', '); ?>
<?php echo implode(', ',$location); ?>
</div>

<div class="span3 col-md-3">
Expand Down
2 changes: 1 addition & 1 deletion source/plg_system_t3/includes/menu/t3bootstrap.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public static function url($item)
break;
case 2:
// window.open
$options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,' . $params->get('window_open');
$options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,' . $item->itemParams->get('window_open');
?>
<a <?php echo $class; ?>href="<?php echo $flink; ?>" onclick="window.open(this.href,'targetWindow','<?php echo $options; ?>');return false;" <?php echo $title, $dropdown; ?>><?php echo $linktype, $caret; ?></a>
<?php
Expand Down

0 comments on commit dcec279

Please sign in to comment.