Fix code ...

This commit is contained in:
Benjamin Pick
2018-01-03 11:40:25 +01:00
parent 365cc3ee1f
commit 9cca21756a
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class ItemList extends PayPalModel
*/
public function setItems($items)
{
$this->items = $items;
$this->items = array_values($items);
return $this;
}