fixed sql syntax error

This commit is contained in:
Carsten Wolff 2007-09-29 18:58:28 +00:00
parent 7b6a1013fc
commit cd18e2cd87

View File

@ -403,7 +403,7 @@
{ {
$db2->update('egw_addressbook',array($old2new[$row['contact_name']] => $row['contact_value']),array( $db2->update('egw_addressbook',array($old2new[$row['contact_name']] => $row['contact_value']),array(
'contact_id' => $row['contact_id'], 'contact_id' => $row['contact_id'],
'('.$old2new[$row['contact_name']].'IS NULL OR '.$old2new[$row['contact_name']]."='')", '('.$old2new[$row['contact_name']].' IS NULL OR '.$old2new[$row['contact_name']]."='')",
),__LINE__,__FILE__); ),__LINE__,__FILE__);
} }
// delete the not longer used custom fields plus rubish from old bugs // delete the not longer used custom fields plus rubish from old bugs