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