mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@966 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d22dab39c4
commit
e6f55688d1
1 changed files with 5 additions and 1 deletions
|
|
@ -129,7 +129,11 @@
|
||||||
|
|
||||||
while($tmp = sqlite_fetch_array($result, SQLITE_ASSOC)) {
|
while($tmp = sqlite_fetch_array($result, SQLITE_ASSOC)) {
|
||||||
unset($obj);
|
unset($obj);
|
||||||
foreach($tmp as $key => $val) $obj->{$key} = $val;
|
foreach($tmp as $key => $val) {
|
||||||
|
$pos = strpos($key, '.');
|
||||||
|
if($pos) $key = substr($key, $pos+1);
|
||||||
|
$obj->{$key} = $val;
|
||||||
|
}
|
||||||
$output[] = $obj;
|
$output[] = $obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue