From 07096f3bcc9874e66c0be50571ec82aa25226c79 Mon Sep 17 00:00:00 2001 From: DarkAngelBGE Date: Wed, 22 Jul 2009 14:37:50 +0000 Subject: [PATCH] fixes #6403, removing unreachable code in router git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8247 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/router.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index f0cf13e50..9ce2df977 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -460,8 +460,6 @@ class Router extends Object { if (isset($names[$key])) { $out[$names[$key]] = $_this->stripEscape($found); - } elseif (isset($names[$key]) && empty($names[$key]) && empty($out[$names[$key]])) { - break; } else { $argOptions['context'] = array('action' => $out['action'], 'controller' => $out['controller']); extract($_this->getArgs($found, $argOptions));