Skip to content

Commit

Permalink
Fixing updateDocument() method : missing a "doc" property wrapper aro…
Browse files Browse the repository at this point in the history
…und updated fields
  • Loading branch information
romainruaud authored and Aurélien FOUCRET committed Feb 2, 2016
1 parent 60f2003 commit f95ca76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ public function updateDocument($id, array $data = array(), $type = 'product')
}

$headerRow = array('update' => $headerData);
$dataRow = $data;
$dataRow = array('doc' => $data);

$result = array($headerRow, $dataRow);
return $result;
Expand Down

0 comments on commit f95ca76

Please sign in to comment.