mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 18:59:56 +09:00
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:
parent
e13c62c479
commit
2c21bc07e9
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue