Merge pull request #242 from wderuijter/patch-1
Get the correct target param from the item
This commit is contained in:
commit
93f8892458
|
@ -43,7 +43,7 @@ if($params->get('groupby', 0)) :
|
||||||
<?php
|
<?php
|
||||||
$link = $item->link;
|
$link = $item->link;
|
||||||
|
|
||||||
switch ($params->get('target', 3))
|
switch ($item->params->get('target', 3))
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
// Open in a new window
|
// Open in a new window
|
||||||
|
@ -91,7 +91,7 @@ if($params->get('groupby', 0)) :
|
||||||
<?php
|
<?php
|
||||||
$link = $item->link;
|
$link = $item->link;
|
||||||
|
|
||||||
switch ($params->get('target', 3))
|
switch ($item->params->get('target', 3))
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
// Open in a new window
|
// Open in a new window
|
||||||
|
|
Loading…
Reference in New Issue