Explorar el Código

ProductFamilySectionPropertySolver : correctif comparaison objet Section

develop
Guillaume Bourgeois hace 2 años
padre
commit
e020771ec2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      Solver/Product/ProductFamilySectionPropertySolver.php

+ 1
- 1
Solver/Product/ProductFamilySectionPropertySolver.php Ver fichero

@@ -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;
}
}

Cargando…
Cancelar
Guardar