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.

modal_forms_exit.patch531 bytesBerdir


Berdir’s picture

Status: Active » Needs review
frjo’s picture

Status: Needs review » Fixed

Committed a updated version of this patch to 7-dev. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.