mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix to provide (return) data even if a shortname is used as column name
This commit is contained in:
parent
372b571e32
commit
7a4f191fb3
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user