mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Changing string offset access.
This commit is contained in:
parent
d94ff92a9d
commit
8c7cfb2a1e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue