"avoid $$fields in RTF Dodument instead of emty values"

This commit is contained in:
Stefan Becker 2008-04-17 09:17:56 +00:00
parent 0d799b6896
commit a879dd4055

View File

@ -56,8 +56,9 @@ class addressbook_merge // extends bo_merge
if (!is_array($contact)) return array(); if (!is_array($contact)) return array();
$replacements = array(); $replacements = array();
foreach($contact as $name => $value) foreach(array_keys($this->contacts->contact_fields) as $name)
{ {
$value = $contact[$name];
switch($name) switch($name)
{ {
case 'created': case 'modified': case 'created': case 'modified':