Skip to content

Commit a7b3e33

Browse files
author
Alex Westergaard
committed
Fix item list in ViewPromotion
1 parent ed17345 commit a7b3e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event/ViewPromotion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function setPromotionName(string $name)
6969

7070
public function addItem(Item $item)
7171
{
72-
$this->items = $item->toArray();
72+
$this->items[] = $item->toArray();
7373
return $this;
7474
}
7575
}

0 commit comments

Comments
 (0)