mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
changed db2data to copy only the numerical values
This commit is contained in:
parent
c82c69cdb1
commit
8cb7c8bb47
@ -209,11 +209,18 @@
|
||||
@abstract copy data after a query into $data
|
||||
@syntax db2data(&$data)
|
||||
@param $data array to copy the data
|
||||
@description doesnt do much anymore
|
||||
@description copy only non-numeric keys
|
||||
*/
|
||||
function db2data(&$data)
|
||||
{
|
||||
$data = $this->db->Record;
|
||||
$data = array();
|
||||
foreach ($this->db->Record as $key => $val)
|
||||
{
|
||||
if (!is_numeric($key))
|
||||
{
|
||||
$data[$key] = $val;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user