30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-04 07:20:49 +00:00

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

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