Changing string offset access.

This commit is contained in:
Mark Story 2010-05-02 18:04:13 -04:00
parent d94ff92a9d
commit 8c7cfb2a1e

View file

@ -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;