Added return false otherwise it won't redirect
This commit is contained in:
parent
fbe5559008
commit
1058c98081
|
@ -47,6 +47,7 @@ class NewsletterSignupForm extends Form {
|
|||
if($member->inGroup($group->ID)) {
|
||||
$form->sessionMessage('You are already subscribed.', 'warning');
|
||||
Director::redirectBack();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue