Pārlūkot izejas kodu

SectionResolver : correctif

packProduct
Guillaume pirms 3 gadiem
vecāks
revīzija
45ba92a145
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      Resolver/SectionResolver.php

+ 1
- 1
Resolver/SectionResolver.php Parādīt failu

@@ -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é');
}

Notiek ielāde…
Atcelt
Saglabāt