瀏覽代碼

SectionResolver : correctif

packProduct
Guillaume 3 年之前
父節點
當前提交
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…
取消
儲存