Api - Fix leftover $$ when merging empty contact customfields

This commit is contained in:
nathangray 2019-02-14 09:32:03 -07:00
parent c2003e2b8a
commit fd8f69db80

View File

@ -295,7 +295,7 @@ abstract class Merge
$name = '#'.$name; $name = '#'.$name;
if(!$contact[$name]) if(!$contact[$name])
{ {
$replacements['$$'.($prefix ? $prefix.'/':'').$name] = ''; $replacements['$$'.($prefix ? $prefix.'/':'').$name.'$$'] = '';
continue; continue;
} }
// Format date cfs per user Api\Preferences // Format date cfs per user Api\Preferences