escape string value

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

View file

@ -10,7 +10,14 @@
function Argument($name, $value){
$this->name = $name;
$this->value = $value;
if($this->type !== 'date'){
$dbParser = XmlQueryParser::getDBParser();
$this->value = $dbParser->escapeStringValue($value);
}
else
$this->value = $value;
$this->isValid = true;
}