Fix incompatibility after Doctrine refactor

[MAILPOET-3662]
This commit is contained in:
Jan Lysý
2021-09-23 08:58:43 +02:00
committed by Veljko V
parent 857268c5ff
commit e9a4c6e090
2 changed files with 1 additions and 2 deletions

View File

@@ -229,7 +229,6 @@ class FormEditor {
if (isset($_GET['template_id'])) {
$template = $this->templatesRepository->getFormTemplate($_GET['template_id']);
$form = $template->toFormEntity();
$form = $form->toArray();
} else {
$form = $this->getFormData((int)$_GET['id']);
}