Fix code style [MAILPOET-777]

This commit is contained in:
Alexey Stoletniy
2017-01-25 16:29:23 +03:00
parent c2546e8aed
commit 168263f0ea
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class Subscribers extends APIEndpoint {
$form = $form->asArray();
if (!empty($form['settings']['on_success'])) {
if(!empty($form['settings']['on_success'])) {
if($form['settings']['on_success'] === 'page') {
// redirect to a page on a success, pass the page url in the meta
$meta['redirect_url'] = get_permalink($form['settings']['success_page']);