diff --git a/phpgwapi/inc/class.contacts.inc.php b/phpgwapi/inc/class.contacts.inc.php index 327c42eabc..5ca932923f 100644 --- a/phpgwapi/inc/class.contacts.inc.php +++ b/phpgwapi/inc/class.contacts.inc.php @@ -89,6 +89,10 @@ foreach($fields as $field => $value) { /* Depending on how the array was built, this is needed. */ + if (is_int($field)) + { + $field = $value; + } if(@is_int($value)) { $value = $field;