From dcec279923e1fed30476ac867362bc40fcb8bd0d Mon Sep 17 00:00:00 2001 From: Kien Duong Date: Wed, 27 Oct 2021 15:23:26 +0700 Subject: [PATCH] compatible with PHP 8 --- .../base-bs3/html/com_contact/category/default_items.php | 2 +- source/plg_system_t3/includes/menu/t3bootstrap.tpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/plg_system_t3/base-bs3/html/com_contact/category/default_items.php b/source/plg_system_t3/base-bs3/html/com_contact/category/default_items.php index e5777a8e2d..2ea80d610e 100755 --- a/source/plg_system_t3/base-bs3/html/com_contact/category/default_items.php +++ b/source/plg_system_t3/base-bs3/html/com_contact/category/default_items.php @@ -92,7 +92,7 @@ class ContactHelperRoute extends \Joomla\Component\Contact\Site\Helper\RouteHelp params->get('show_country_headings') && !empty($item->country)) : ?> country; ?> - +
diff --git a/source/plg_system_t3/includes/menu/t3bootstrap.tpl.php b/source/plg_system_t3/includes/menu/t3bootstrap.tpl.php index b17041d498..c2b3135bbd 100755 --- a/source/plg_system_t3/includes/menu/t3bootstrap.tpl.php +++ b/source/plg_system_t3/includes/menu/t3bootstrap.tpl.php @@ -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'); ?> href="" onclick="window.open(this.href,'targetWindow','');return false;" >