Add missing else for non SQLServer db's.

This commit is contained in:
mark_story 2012-01-06 23:06:12 -05:00
parent f23226b937
commit 9a7e69df7f

View file

@ -72,7 +72,10 @@ class Sanitize {
$string = $db->value($string, 'string');
if ($string[0] === 'N') {
$string = substr($string, 2);
} else {
$string = substr($string, 1);
}
$string = substr($string, 0, -1);
return $string;
}