Przeglądaj źródła

ProductFamilySectionPropertySolver : correctif comparaison objet Section

develop
Guillaume Bourgeois 2 lat temu
rodzic
commit
e020771ec2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      Solver/Product/ProductFamilySectionPropertySolver.php

+ 1
- 1
Solver/Product/ProductFamilySectionPropertySolver.php Wyświetl plik

@@ -12,7 +12,7 @@ class ProductFamilySectionPropertySolver
public function getProductFamilySectionProperty(ProductFamilyInterface $productFamily, SectionInterface $section):? ProductFamilySectionPropertyInterface
{
foreach ($productFamily->getProductFamilySectionProperties() as $productFamilySectionProperty) {
if ($productFamilySectionProperty->getSection() == $section) {
if ($productFamilySectionProperty->getSection() === $section) {
return $productFamilySectionProperty;
}
}

Ładowanie…
Anuluj
Zapisz