Update lib/Cake/Utility/Sanitize.php

Correctly use the $start variable in Sanitize::escape().
This commit is contained in:
calinseciu 2013-02-01 18:10:24 +02:00
parent 00078e007c
commit d2b97f12e8

View file

@ -76,7 +76,7 @@ class Sanitize {
$start = 2;
}
return substr(substr($string, 1), 0, -1);
return substr(substr($string, $start), 0, -1);
}
/**