Guillaume 2 роки тому
джерело
коміт
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');
}

Завантаження…
Відмінити
Зберегти