Skip to content

Commit

Permalink
Fix properties
Browse files Browse the repository at this point in the history
Delete data key, because properties must be in root of contact key
  • Loading branch information
martinknor authored Feb 22, 2019
1 parent 692943b commit 589d244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SmartEmailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 589d244

Please sign in to comment.