Update usages of form factory

[MAILPOET-2985]
This commit is contained in:
Rostislav Wolny
2020-06-30 15:58:06 +02:00
committed by Veljko V
parent 7d62b15979
commit c4628d4f78
4 changed files with 9 additions and 32 deletions

View File

@ -240,7 +240,7 @@ class FormEditor {
$this->wp->wpSafeRedirect(
$this->wp->getSiteUrl(null,
'/wp-admin/admin.php?page=mailpoet-form-editor&id=' . $form->id()
'/wp-admin/admin.php?page=mailpoet-form-editor&id=' . $form->getId()
)
);
exit;