Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing static call, and replacing with instance method call.

  • Loading branch information...
commit c69410d80926dad4c8ba9cb528424a6d8863c973 1 parent f027641
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/router.php
View
2  cake/libs/router.php
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.