fixed sql syntax error

This commit is contained in:
Carsten Wolff 2007-09-29 18:59:01 +00:00
parent f1bc6ab712
commit 7cbd5df48d

View File

@ -410,7 +410,7 @@
{
$db2->update('egw_addressbook',array($old2new[$row['contact_name']] => $row['contact_value']),array(
'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__);
}
// delete the not longer used custom fields plus rubish from old bugs