From 589d2444bc2e191d242c4a10435665af19dcfaca Mon Sep 17 00:00:00 2001 From: Makr Date: Fri, 22 Feb 2019 22:43:07 +0100 Subject: [PATCH] Fix properties Delete data key, because properties must be in root of contact key --- src/SmartEmailing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SmartEmailing.php b/src/SmartEmailing.php index 828b185..7fb78b2 100644 --- a/src/SmartEmailing.php +++ b/src/SmartEmailing.php @@ -217,7 +217,7 @@ public function importContact($email, array $contactLists = NULL, array $propert if (is_array($properties)) { foreach ($properties as $name => $value) { - $contact['data'][$name] = $value; + $contact[$name] = $value; } }