Skip to content

Commit

Permalink
Merge pull request #1900 from BabovicT/patch-8
Browse files Browse the repository at this point in the history
FIX: extending condition proccesor adds empty tag
  • Loading branch information
dpfaffenbauer authored Mar 14, 2022
2 parents 39cde34 + ce3d2d1 commit b62568b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public function process(ContainerBuilder $container): void
$definition = $container->findDefinition($id);

foreach ($attributes as $tag) {
if (empty($tag)) {
continue;
}

$definition->addTag('coreshop.filter.user_condition_type', $tag);
$definition->addTag('coreshop.filter.pre_condition_type', $tag);
}
Expand Down

0 comments on commit b62568b

Please sign in to comment.