Ver código fonte

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

feature/ticket
Guillaume 3 anos atrás
pai
commit
5c8e0b18e0
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      Resolver/SectionResolver.php

+ 1
- 1
Resolver/SectionResolver.php Ver arquivo

} }


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

Carregando…
Cancelar
Salvar