Skip to content

Commit

Permalink
BUGFIX: show an error message on corrupted request
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaip authored Dec 29, 2017
1 parent c99b029 commit 8298308
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Psmb/Newsletter/Controller/SubscriptionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public function registerAction(Subscriber $subscriber = null)
$this->redirect('feedback');
}
}
} else {
$this->addFlashMessage('No subscriber provided', null, Message::SEVERITY_WARNING);
$this->redirect('feedback');
}
}

Expand Down

0 comments on commit 8298308

Please sign in to comment.