diff --git a/Classes/Psmb/Newsletter/Controller/SubscriptionController.php b/Classes/Psmb/Newsletter/Controller/SubscriptionController.php index 3ea0f80..45d89a3 100644 --- a/Classes/Psmb/Newsletter/Controller/SubscriptionController.php +++ b/Classes/Psmb/Newsletter/Controller/SubscriptionController.php @@ -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'); } }