Skip to content

Commit

Permalink
Changing string offset access.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 2, 2010
1 parent d94ff92 commit 8c7cfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/cake_request.php
Expand Up @@ -108,7 +108,7 @@ public function __construct($url = null) {
if (empty($url)) {
$url = $this->_url();
}
if ($url{0} == '/') {
if ($url[0] == '/') {
$url = substr($url, 1);
}
$this->url = $url;
Expand Down

0 comments on commit 8c7cfb2

Please sign in to comment.