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.
This is because of the exit; in all of these page callbacks.
The session is only stored conditionally in drupal_exit() and by calling exit(), that doesn't happen.
It is not necessary to use exit or drupal_exit() manually in page callbacks, if you do not return anything then Drupal will not render anything.
The attached patch removes them.
Comment | File | Size | Author |
---|---|---|---|
modal_forms_exit.patch | 531 bytes | Berdir |
Comments
Comment #1
BerdirComment #2
frjo CreditAttribution: frjo commentedCommitted a updated version of this patch to 7-dev. Thanks!