Skip to content

Commit

Permalink
Basket: Do not reset $chosenObjects property in setObjects method…
Browse files Browse the repository at this point in the history
… if objects are not empty
  • Loading branch information
raviks789 committed Aug 5, 2024
1 parent 428a49f commit b099f71
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 b099f71

Please sign in to comment.