Revision: 1788
Author: andreassolberg
Date: Fri Sep 25 02:53:47 2009
Log: Fix for command line + sessionhandler php
http://code.google.com/p/simplesamlphp/source/detail?r=1788

Modified:
  /trunk/lib/SimpleSAML/SessionHandlerPHP.php

=======================================
--- /trunk/lib/SimpleSAML/SessionHandlerPHP.php Fri Aug 14 04:07:44 2009
+++ /trunk/lib/SimpleSAML/SessionHandlerPHP.php Fri Sep 25 02:53:47 2009
@@ -83,6 +83,7 @@
                /* Check if key exists first to avoid notice-messages in the
                 * log.
                 */
+               if (!isset($_SESSION)) return NULL;
                if(!array_key_exists($key, $_SESSION)) {
                        /* We should return NULL if we don't have that
                         * key in the session.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to