Skip to content

Commit

Permalink
Removing static call, and replacing with instance method call.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 27, 2009
1 parent f027641 commit c69410d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/router.php
Expand Up @@ -1413,7 +1413,7 @@ function getArgs($args, $options = array()) {
if ((!isset($options['named']) || !empty($options['named'])) && $separatorIsPresent) {
list($key, $val) = explode($_this->named['separator'], $param, 2);
$hasRule = isset($rules[$key]);
$passIt = (!$hasRule && !$greedy) || ($hasRule && !Router::matchNamed($key, $val, $rules[$key], $context));
$passIt = (!$hasRule && !$greedy) || ($hasRule && !$_this->matchNamed($key, $val, $rules[$key], $context));
if ($passIt) {
$pass[] = $param;
} else {
Expand Down

0 comments on commit c69410d

Please sign in to comment.