From 3fc4d984d189e08f76536853a0d418bd6578f7e7 Mon Sep 17 00:00:00 2001 From: Wim de Ruijter Date: Fri, 8 Jul 2016 08:08:25 +0200 Subject: [PATCH] Get the correct target param from the item Get the correct target param from the item instead of the component target param --- src/modules/mod_weblinks/tmpl/default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mod_weblinks/tmpl/default.php b/src/modules/mod_weblinks/tmpl/default.php index 3342cb0..f0f20ae 100644 --- a/src/modules/mod_weblinks/tmpl/default.php +++ b/src/modules/mod_weblinks/tmpl/default.php @@ -43,7 +43,7 @@ if($params->get('groupby', 0)) : link; - switch ($params->get('target', 3)) + switch ($item->params->get('target', 3)) { case 1: // Open in a new window