From 83f37e48a9e6ee9885196f210e8bcaeab970a0b8 Mon Sep 17 00:00:00 2001 From: "Melvin.Ross@gmail.com" Date: Fri, 24 Jan 2014 16:33:59 -0600 Subject: [PATCH] Fix typo that removed '$' from '$key' --- lib/Cake/Routing/Route/CakeRoute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Routing/Route/CakeRoute.php b/lib/Cake/Routing/Route/CakeRoute.php index e8247b38c..d7bdd0173 100644 --- a/lib/Cake/Routing/Route/CakeRoute.php +++ b/lib/Cake/Routing/Route/CakeRoute.php @@ -297,7 +297,7 @@ class CakeRoute { $separatorIsPresent = strpos($param, $namedConfig['separator']) !== false; if ((!isset($this->options['named']) || !empty($this->options['named'])) && $separatorIsPresent) { list($key, $val) = explode($namedConfig['separator'], $param, 2); - $key = key; + $key = $key; $val = $val; $hasRule = isset($rules[$key]); $passIt = (!$hasRule && !$greedy) || ($hasRule && !$this->_matchNamed($val, $rules[$key], $context));