Guillaume пре 3 година
родитељ
комит
5c8e0b18e0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      Resolver/SectionResolver.php

+ 1
- 1
Resolver/SectionResolver.php Прегледај датотеку

} }


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

Loading…
Откажи
Сачувај