fix to provide (return) data even if a shortname is used as column name

This commit is contained in:
Klaus Leithoff 2010-04-20 13:58:01 +00:00
parent 372b571e32
commit 7a4f191fb3

View File

@ -1005,7 +1005,7 @@ class so_sql
$data = array(); $data = array();
foreach($cols as $db_col => $col) foreach($cols as $db_col => $col)
{ {
$data[$col] = $row[$db_col]; $data[$col] = (isset($row[$db_col]) ? $row[$db_col] : $row[$col]);
} }
$arr[] = $this->db2data($data); $arr[] = $this->db2data($data);
$n++; $n++;