Skip to content

Commit

Permalink
Merge pull request #7268 from asika32764/patch-8
Browse files Browse the repository at this point in the history
Add (array) to JRouter::_rules return value
  • Loading branch information
roland-d committed Jul 11, 2015
2 parents 8e0e29f + 224ce3b commit 853804f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/cms/router/router.php
Expand Up @@ -590,7 +590,7 @@ protected function processParseRules(&$uri, $stage = self::PROCESS_DURING)

foreach ($this->_rules['parse' . $stage] as $rule)
{
$vars += call_user_func_array($rule, array(&$this, &$uri));
$vars += (array) call_user_func_array($rule, array(&$this, &$uri));
}

return $vars;
Expand Down

0 comments on commit 853804f

Please sign in to comment.