Skip to content

Commit

Permalink
Adding omitted reference operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 2, 2009
1 parent 63cd1a3 commit 67ccac1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cake/libs/router.php
Expand Up @@ -657,7 +657,7 @@ function promote($which = null) {
if (!isset($self->routes[$which])) {
return false;
}
$route = $self->routes[$which];
$route =& $self->routes[$which];
unset($self->routes[$which]);
array_unshift($self->routes, $route);
return true;
Expand Down Expand Up @@ -809,6 +809,7 @@ function url($url = null, $full = false) {
if (!empty($extension) && substr($output, -1) === '/') {
$output = substr($output, 0, -1);
}

return $output . $extension . $self->queryString($q, array(), $escape) . $frag;
}

Expand Down

0 comments on commit 67ccac1

Please sign in to comment.