Get the correct target param from the item

Get the correct target param from the item instead of the component target param
This commit is contained in:
Wim de Ruijter 2016-07-08 08:08:25 +02:00 committed by GitHub
parent c2b4bd1dc7
commit 3fc4d984d1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if($params->get('groupby', 0)) :
<?php
$link = $item->link;
switch ($params->get('target', 3))
switch ($item->params->get('target', 3))
{
case 1:
// Open in a new window