From 7b1229e29a46b770791cd4afaa1f7d5af21a98b6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 22 Jul 2005 17:53:02 +0000 Subject: [PATCH] fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog --- phpgwapi/inc/class.egw_db.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index 3e4b1c17a4..cf83a741ba 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -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);