Merge pull request #271 from pschiffe/3.1
FIX `HTTPBulkToolsResponse.addSuccessRecords()` fn
This commit is contained in:
commit
734090af68
|
@ -197,7 +197,7 @@ class HTTPBulkToolsResponse extends HTTPResponse
|
||||||
*/
|
*/
|
||||||
public function addSuccessRecords(SS_List $records)
|
public function addSuccessRecords(SS_List $records)
|
||||||
{
|
{
|
||||||
array_push($this->successRecords, $records->toArray());
|
$this->successRecords = array_merge($this->successRecords, $records->toArray());
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue