Permalink
Browse files

Adding omitted reference operator.

  • Loading branch information...
1 parent 63cd1a3 commit 67ccac1f57a19a329144b9268595ac87e452457d @markstory markstory committed Dec 2, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 cake/libs/router.php
View
@@ -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;
@@ -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;
}

0 comments on commit 67ccac1

Please sign in to comment.