Fix error with retrieving HC and CD references and add LBC
This commit is contained in:
		| @@ -42,20 +42,22 @@ class DefaultController extends AbstractController | ||||
|  | ||||
|         $creeds = $emi->getRepository(Reference::class)->findByType('creed'); | ||||
|         $belgic = $emi->getRepository(Reference::class)->findByType('belgic'); | ||||
|         $heidelberg = $emi->getRepository(Reference::class)->findByType('heidelberg'); | ||||
|         $dort = $emi->getRepository(Reference::class)->findByType('dort'); | ||||
|         $heidelberg = $emi->getRepository(Reference::class)->findByType('hc'); | ||||
|         $dort = $emi->getRepository(Reference::class)->findByType('cd'); | ||||
|         $wcf = $emi->getRepository(Reference::class)->findByType('wcf'); | ||||
|         $wsc = $emi->getRepository(Reference::class)->findByType('wsc'); | ||||
|         $wlc = $emi->getRepository(Reference::class)->findByType('wlc'); | ||||
|         $lbc = $emi->getRepository(Reference::class)->findByType('lbc'); | ||||
|  | ||||
|         return $this->render('editors/reference-editor.html.twig', [ | ||||
|             'creeds' => $creeds, | ||||
|             'belgic' => $belgic, | ||||
|             'heidelberg' => $heidelberg, | ||||
|             'dort' => $dort, | ||||
|             'wcf' => $wcf, | ||||
|             'wsc' => $wsc, | ||||
|             'wlc' => $wlc | ||||
|             'creeds' => ($creeds), | ||||
|             'belgic' => ($belgic), | ||||
|             'heidelberg' => ($heidelberg), | ||||
|             'dort' => ($dort), | ||||
|             'wcf' => ($wcf), | ||||
|             'wsc' => ($wsc), | ||||
|             'wlc' => ($wlc), | ||||
|             'lbc' => ($lbc), | ||||
|         ]); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user