From 8c7cfb2a1e699c3f9076bb650fbdacea45634920 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 2 May 2010 18:04:13 -0400 Subject: [PATCH] Changing string offset access. --- cake/libs/cake_request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;