소스 검색

ProductFamilySectionPropertySolver : correctif comparaison objet Section

develop
Guillaume Bourgeois 1 년 전
부모
커밋
e020771ec2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      Solver/Product/ProductFamilySectionPropertySolver.php

+ 1
- 1
Solver/Product/ProductFamilySectionPropertySolver.php 파일 보기

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

Loading…
취소
저장