Merge pull request #242 from wderuijter/patch-1

Get the correct target param from the item
This commit is contained in:
RolandD 2016-07-26 07:46:11 +02:00 committed by GitHub
commit 93f8892458
1 changed files with 2 additions and 2 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
@ -91,7 +91,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