Skip to content
Browse files

Fixing reference errors in php4.

  • Loading branch information...
1 parent 371ac39 commit 741f507c23309e4a12a8c7125233df9d501759c6 @markstory markstory committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/router.php
View
4 cake/libs/router.php
@@ -1041,7 +1041,7 @@ function normalize($url = '/') {
* @access public
* @static
*/
- function requestRoute() {
+ function &requestRoute() {
$self =& Router::getInstance();
return $self->__currentRoute[0];
}
@@ -1053,7 +1053,7 @@ function requestRoute() {
* @access public
* @static
*/
- function currentRoute() {
+ function &currentRoute() {
$self =& Router::getInstance();
return $self->__currentRoute[count($self->__currentRoute) - 1];
}

0 comments on commit 741f507

Please sign in to comment.
Something went wrong with that request. Please try again.