Permalink
Browse files

Removing static call, and replacing with instance method call.

  • Loading branch information...
1 parent f027641 commit c69410d80926dad4c8ba9cb528424a6d8863c973 @markstory markstory committed Sep 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/router.php
View
@@ -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 {

0 comments on commit c69410d

Please sign in to comment.