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