Explorar el Código

SectionResolver : correctif

packProduct
Guillaume hace 2 años
padre
commit
45ba92a145
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      Resolver/SectionResolver.php

+ 1
- 1
Resolver/SectionResolver.php Ver fichero

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

Cargando…
Cancelar
Guardar