Преглед на файлове

SectionResolver : correctif

packProduct
Guillaume преди 2 години
родител
ревизия
45ba92a145
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      Resolver/SectionResolver.php

+ 1
- 1
Resolver/SectionResolver.php Целия файл

@@ -94,7 +94,7 @@ class SectionResolver
if (isset($requestAttributesArray['section'])) {
$sectionCurrent = $sectionStore
->setMerchant($merchantCurrent)
->getOneBySlug($requestAttributesArray['section']);
->getOneBySlug($requestAttributesArray['section'], false);
if($sectionCurrent===null){
throw new NotFoundHttpException('Aucun espace n\'a été trouvé');
}

Loading…
Отказ
Запис