mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
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
This commit is contained in:
parent
7ca85109cb
commit
07096f3bcc
1 changed files with 0 additions and 2 deletions
|
@ -460,8 +460,6 @@ class Router extends Object {
|
||||||
|
|
||||||
if (isset($names[$key])) {
|
if (isset($names[$key])) {
|
||||||
$out[$names[$key]] = $_this->stripEscape($found);
|
$out[$names[$key]] = $_this->stripEscape($found);
|
||||||
} elseif (isset($names[$key]) && empty($names[$key]) && empty($out[$names[$key]])) {
|
|
||||||
break;
|
|
||||||
} else {
|
} else {
|
||||||
$argOptions['context'] = array('action' => $out['action'], 'controller' => $out['controller']);
|
$argOptions['context'] = array('action' => $out['action'], 'controller' => $out['controller']);
|
||||||
extract($_this->getArgs($found, $argOptions));
|
extract($_this->getArgs($found, $argOptions));
|
||||||
|
|
Loading…
Add table
Reference in a new issue