Skip to content

Commit

Permalink
Basket: Do not reset $chosenObjects property if already set
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 committed Aug 5, 2024
1 parent 428a49f commit c1de032
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/Director/DirectorObject/Automation/Basket.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public function setObjects($objects)
if (empty($objects)) {
$this->chosenObjects = [];
} else {
$this->chosenObjects = [];
foreach ((array) $objects as $type => $object) {
$this->addObjects($type, $object);
}
Expand Down

0 comments on commit c1de032

Please sign in to comment.