Bug #9332: Make sure _SESSION is always set
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 22 Oct 2010 17:02:06 +0000 (11:02 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 22 Oct 2010 17:17:28 +0000 (11:17 -0600)
framework/Core/lib/Horde/Session.php

index f25910a..b862012 100644 (file)
@@ -56,6 +56,9 @@ class Horde_Session implements ArrayAccess
     public function __construct()
     {
         $this->_lzf = Horde_Util::extensionExists('lzf');
+
+        /* Make sure global session variable is always initialized. */
+        $_SESSION = array();
     }
 
     /**