Skip to content
Permalink
Browse files

Update lib/Cake/Utility/Sanitize.php

Correctly use the $start variable in Sanitize::escape().
  • Loading branch information...
clns committed Feb 1, 2013
1 parent 00078e0 commit d2b97f12e8e5f1a96aaf45958683841f0c44ccb3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Sanitize.php
@@ -76,7 +76,7 @@ public static function escape($string, $connection = 'default') {
$start = 2;
}
return substr(substr($string, 1), 0, -1);
return substr(substr($string, $start), 0, -1);
}
/**

0 comments on commit d2b97f1

Please sign in to comment.
You can’t perform that action at this time.