?
avatar NickolayCh
NickolayCh
14 May 2018

The probjem is in file \components\com_content\helpers\route.php, ContentHelperRoute::getCategoryRoute, code:

$layout = $jinput->get('layout');

if ($layout !== '')
{
$link .= '&layout=' . $layout;
}

That happens because of using not identical comparison on $layout variable, when the actual request param is not set and JInput::get method is returning NULL by default. Suggest using just if ($layout) for checking.

avatar NickolayCh NickolayCh - open - 14 May 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 May 2018
avatar mbabker
mbabker - comment - 14 May 2018

Fixed by #20229

avatar mbabker mbabker - change - 14 May 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-05-14 11:36:17
Closed_By mbabker
avatar mbabker mbabker - close - 14 May 2018

Add a Comment

Login with GitHub to post a comment