Skip to content

Commit

Permalink
Merge pull request #1708 from lukadschaak/patch-2
Browse files Browse the repository at this point in the history
[Core] Fix: ProductRepository: Added missing placeholder
  • Loading branch information
dpfaffenbauer authored Aug 3, 2021
2 parents a2ead8b + 3e2b7d9 commit 094f45a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function findAllVariants(ProductInterface $product, $recursive = true)
if ($recursive) {
$list->setCondition('o_path LIKE ?', [$product->getRealFullPath() . '/%']);
} else {
$list->setCondition('o_parentId =', [$product->getId()]);
$list->setCondition('o_parentId = ?', [$product->getId()]);
}

return $list->getObjects();
Expand Down

0 comments on commit 094f45a

Please sign in to comment.