Add check that resize was called from correct domain
[MAILPOET-2811]
This commit is contained in:
committed by
Veljko V
parent
7a9f605fb4
commit
0039dec079
@ -45,6 +45,10 @@ class FormPreview {
|
||||
if (!isset($this->data['id']) || !isset($this->data['form_type'])) {
|
||||
return '';
|
||||
}
|
||||
return $this->formPreviewPage->renderPage((int)$this->data['id'], (string)$this->data['form_type']);
|
||||
return $this->formPreviewPage->renderPage(
|
||||
(int)$this->data['id'],
|
||||
(string)$this->data['form_type'],
|
||||
(string)$this->data['editor_url']
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user