Skip to content
Snippets Groups Projects
Commit d7e2892b authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix remaining function call

parent 285726ce
No related branches found
No related tags found
No related merge requests found
......@@ -204,9 +204,9 @@ class MailController extends ActionController {
$selectedExtension, $selectedTemplate, $selectedLanguage, $selectedContent, $selectedSubject
) {
/** @var Template $template */
$template = $this->templateRepository->findTemplate(
$template = $this->templateRepository->findOneByTemplate(
$selectedExtension, $selectedTemplate, $selectedLanguage
)->getFirst();
);
$templateAlreadyExists = TRUE;
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment