[drupal-devel] [bug] Undefined variable in bootstrap.inc

kumo drupal-devel at drupal.org
Wed Aug 24 16:41:07 UTC 2005


Issue status update for 
http://drupal.org/node/29555
Post a follow up: 
http://drupal.org/project/comments/add/29555

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  kumo
 Updated by:   kumo
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/bootstrap_undefined_variable_session.patch (529 bytes)

Testing the new database error screens I got a 'Undefined variable:
_SESSION in .../bootstrap.inc on line 775.


Attached patch fixes this by moving the $_SESSION['messages']
declaration to the beginning of the drupal_set_messages() function.




kumo




More information about the drupal-devel mailing list