fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog

This commit is contained in:
Ralf Becker 2005-07-22 17:53:02 +00:00
parent 1e9424db7b
commit 7b1229e29a

View File

@ -1150,7 +1150,7 @@
$keys = $values = array();
foreach($array as $key => $data)
{
if (!$only || $only === True && isset($column_definitions[$key]) || is_array($only) && in_array($key,$only))
if (is_int($key) || !$only || $only === True && isset($column_definitions[$key]) || is_array($only) && in_array($key,$only))
{
$keys[] = $this->name_quote($key);