Sqlite3에서 DB입력된 결과를 가져올때 두개의 single quote를 하나의 quote로 강제변환. 문제 생길 여지는 없을듯..

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1883 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-09 07:40:02 +00:00
parent 429a1dc252
commit 46badd60f5

View file

@ -173,7 +173,7 @@
foreach($tmp as $key => $val) {
$pos = strpos($key, '.');
if($pos) $key = substr($key, $pos+1);
$obj->{$key} = $val;
$obj->{$key} = str_replace("''","'",$val);
}
$output[] = $obj;
}