mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8525 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7f0c67bfae
commit
33c0923009
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
function escapeStringValue($value){
|
function escapeStringValue($value){
|
||||||
if($value == "*") return $value;
|
if($value == "*") return $value;
|
||||||
if (is_string($value)) return $value = str_replace("'","\'",$value);
|
if (is_string($value)) return $value = str_replace("'","''",$value);
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue