Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There's a number of calls to drupal_set_message() after the form is submitted. However, these aren't appearing, which I traced to a redirect to the home page:
$form_state['redirect'] = '/'; (mass_contact.page.inc, line 175)
To workaround, I altered the form, added a custom submit handler, and unset($form_state['redirect']);
Thanks
Shaun
Comments
Comment #1
oadaeh CreditAttribution: oadaeh commentedI'm not seeing this behavior. Maybe you have another module installed that is creating this situation?
I think you meant line number 715.
It was added for this reason:
I suppose I could add a check for the flood control activation and redirect or not, based on that setting, but I still think you have something else going on there.
Comment #2
oadaeh CreditAttribution: oadaeh commentedComment #3
oadaeh CreditAttribution: oadaeh commentedI'm changing the issue to reflect one of my comments in #1: