Skip to content

Commit

Permalink
Change layout check
Browse files Browse the repository at this point in the history
  • Loading branch information
Septdir committed Apr 18, 2018
1 parent 7ac84db commit f8ad03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_content/helpers/route.php
Expand Up @@ -81,7 +81,7 @@ public static function getCategoryRoute($catid, $language = 0)

$layout = JFactory::getApplication()->input->get('layout', '', 'string');

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

0 comments on commit f8ad03c

Please sign in to comment.