Skip to content

Commit

Permalink
Merge pull request #271 from pschiffe/3.1
Browse files Browse the repository at this point in the history
FIX `HTTPBulkToolsResponse.addSuccessRecords()` fn
  • Loading branch information
GuySartorelli authored Mar 8, 2024
2 parents bdefd14 + 379fda0 commit 734090a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BulkTools/HTTPBulkToolsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function addSuccessRecord($record)
*/
public function addSuccessRecords(SS_List $records)
{
array_push($this->successRecords, $records->toArray());
$this->successRecords = array_merge($this->successRecords, $records->toArray());
return $this;
}

Expand Down

0 comments on commit 734090a

Please sign in to comment.