diff --git a/cake/libs/cake_request.php b/cake/libs/cake_request.php index 43be3440f..e49d59d60 100644 --- a/cake/libs/cake_request.php +++ b/cake/libs/cake_request.php @@ -108,7 +108,7 @@ class CakeRequest implements ArrayAccess { if (empty($url)) { $url = $this->_url(); } - if ($url{0} == '/') { + if ($url[0] == '/') { $url = substr($url, 1); } $this->url = $url;