Closed (fixed)
Project:
Modal forms (with ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 10:22 UTC
Updated:
16 Nov 2012 at 11:30 UTC
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 commentedCommitted a updated version of this patch to 7-dev. Thanks!