ソースを参照

Doctrine Fixtures

feature/ticket
Fab 3年前
コミット
8d93fbcb9c
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');
}

読み込み中…
キャンセル
保存