diff --git a/libraries/src/Helper/RouteHelper.php b/libraries/src/Helper/RouteHelper.php index 23a59e95a177b..09e26fe30aab0 100644 --- a/libraries/src/Helper/RouteHelper.php +++ b/libraries/src/Helper/RouteHelper.php @@ -71,7 +71,7 @@ public function getRoute($id, $typealias, $link = '', $language = null, $catid = } else { - $this->view = \JFactory::getApplication()->input->getString('view'); + $this->view = \JFactory::getApplication()->input->getCmd('view'); $this->extension = \JFactory::getApplication()->input->getCmd('option'); }