escape string value

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8522 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
lickawtl 2011-06-21 11:27:10 +00:00
parent ed3fd79304
commit e13c62c479

View file

@ -26,7 +26,7 @@
function escapeStringValue($value){
if($value == "*") return $value;
if (!is_numeric($value)) return $value = str_replace("'","\'",$string);
if (is_string($value)) return $value = str_replace("'","\'",$value);
return $value;
}