Kaynağa Gözat

ProductFamilySectionPropertySolver : correctif comparaison objet Section

develop
Guillaume Bourgeois 2 yıl önce
ebeveyn
işleme
e020771ec2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      Solver/Product/ProductFamilySectionPropertySolver.php

+ 1
- 1
Solver/Product/ProductFamilySectionPropertySolver.php Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet