From ad253a26084d42aa748b7b08ab615610fdff9964 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 ff0ab4d5d9..f54c04d94a 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'); }