Jump to content

Incorrect/unnecessary argument for getActionLink()?


Kurtis Houser

Recommended Posts

Line 78 in 'add_to_list.thtml' has the following:

<li><?php echo $Routes->getActionLink('<span class="jrIconTable"></span>' . __t("MYLISTS_VIEW_ALL_LISTS", true), 'mylists', 'userlists', ['listing'=>$listing['Listing']['listing_id']]); ?></li>

The non-SEF URL looks like this and produces a 'No lists were found' message on the next page:

/index.php?option=com_jreviews&Itemid=1106&listing=2740

If I remove the last argument it appears to work fine. I looks like I made this change over a year ago in my custom template and forgot to mention it.

<li><?php echo $Routes->getActionLink('<span class="jrIconTable"></span>' . __t("MYLISTS_VIEW_ALL_LISTS", true), 'mylists', 'userlists'); ?></li>

Thanks,

Kurtis

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...