Skip to content

Commit

Permalink
nice variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
otzy committed Apr 13, 2015
1 parent 417a565 commit b710244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Snowcap/Emarsys/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ public function createContact(array $data)
public function updateContact(array $data)
{
if (isset($data['contacts']) && is_array($data['contacts'])){
foreach($data['contacts'] as &$v){
$v = $this->mapFieldsToIds($v);
foreach($data['contacts'] as &$contact){
$contact = $this->mapFieldsToIds($contact);
}
}

Expand Down

0 comments on commit b710244

Please sign in to comment.