changed db2data to copy only the numerical values

This commit is contained in:
Ralf Becker 2003-07-06 08:52:35 +00:00
parent c82c69cdb1
commit 8cb7c8bb47

View File

@ -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;
}
}
}
/*!