Skip to content

Commit

Permalink
Update router.php
Browse files Browse the repository at this point in the history
this patch solves the issue #9566
  • Loading branch information
AlexRed committed May 24, 2016
1 parent 66260ef commit cefacf4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions components/com_content/router.php
Expand Up @@ -319,16 +319,6 @@ public function parse(&$segments)
return $vars;
}

// First handle archive view
if ($item->query['view'] == 'archive')
{
$vars['year'] = $count >= 2 ? $segments[$count - 2] : null;
$vars['month'] = $segments[$count - 1];
$vars['view'] = 'archive';

return $vars;
}

/*
* If there is only one segment, then it points to either an article or a category.
* We test it first to see if it is a category. If the id and alias match a category,
Expand Down

0 comments on commit cefacf4

Please sign in to comment.