mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Update lib/Cake/Utility/Sanitize.php
Correctly use the $start variable in Sanitize::escape().
This commit is contained in:
parent
00078e007c
commit
d2b97f12e8
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class Sanitize {
|
|||
$start = 2;
|
||||
}
|
||||
|
||||
return substr(substr($string, 1), 0, -1);
|
||||
return substr(substr($string, $start), 0, -1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue