"removing replacements for empty cf's (finally)"

This commit is contained in:
Ralf Becker 2008-02-15 01:36:58 +00:00
parent 722903656b
commit 7c5b6c94d6

View File

@ -126,6 +126,7 @@ class addressbook_merge // extends bo_merge
// set all not yet set custom fields, as empty cf's are not stored! // set all not yet set custom fields, as empty cf's are not stored!
foreach(array_keys($this->contacts->customfields) as $name) foreach(array_keys($this->contacts->customfields) as $name)
{ {
$name = '$$#'.$name.'$$';
if (!isset($replacements[$name])) if (!isset($replacements[$name]))
{ {
$replacements[$name] = ''; $replacements[$name] = '';