From 74c48e05925d2ed60426f4d1a7495c0f65f2ff5b Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 19 Jan 2017 10:52:45 -0700 Subject: [PATCH] Custom fields can be at the start of the content --- api/src/Contacts/Merge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts/Merge.php b/api/src/Contacts/Merge.php index de626b6bee..08ae405e6f 100644 --- a/api/src/Contacts/Merge.php +++ b/api/src/Contacts/Merge.php @@ -61,7 +61,7 @@ class Merge extends Api\Storage\Merge { return false; } - if($content && strpos($content, '$$#') !== 0) + if($content && strpos($content, '$$#') !== false) { $this->cf_link_to_expand($this->contacts->read($id, $ignore_acl), $content, $replacements,'addressbook'); }