git-svn-id: http://xe-core.googlecode.com/svn/trunk@966 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-05 01:39:52 +00:00
parent d22dab39c4
commit e6f55688d1

View file

@ -129,7 +129,11 @@
while($tmp = sqlite_fetch_array($result, SQLITE_ASSOC)) {
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;
}