浏览代码

Merge branch 'develop' of https://gitea.laclic.fr/Laclic/CaracoleBundle into develop

feature/ticket
Guillaume 3 年前
父节点
当前提交
5c8e0b18e0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Resolver/SectionResolver.php

+ 1
- 1
Resolver/SectionResolver.php 查看文件

@@ -34,7 +34,7 @@ class SectionResolver
}

if ($currentAdminSection === null) {
$currentAdminSection = $this->sectionRepository->findOneBy(array('isDefault' => true));
$currentAdminSection = $this->em->getRepository(SectionInterface::class)->findOneBy(array('isDefault' => true));
if ($currentAdminSection === null) {
throw new \ErrorException('Aucune section par défaut définie pour ce merchant');
}

正在加载...
取消
保存