mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
"Fix for bug #1885: egw_db->row doesn't work as expected
reverted r25031, as it returns the first record with numeric indexes (it's anyway a depricated function)"
This commit is contained in:
parent
b2e3b25a10
commit
e7258df9db
@ -958,7 +958,17 @@ class egw_db
|
||||
{
|
||||
return False;
|
||||
}
|
||||
return $strip ? self::strip_array_keys($this->Record,$strip) : $this->Record;
|
||||
$result = array();
|
||||
foreach($this->Record as $column => $value)
|
||||
{
|
||||
if (!is_numeric($column))
|
||||
{
|
||||
if ($strip) $column = str_replace($strip,'',$column);
|
||||
|
||||
$result[$column] = $value;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user