Existence check
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 22 Jul 2009 15:40:56 +0000 (11:40 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 22 Jul 2009 18:40:06 +0000 (14:40 -0400)
framework/Auth/lib/Horde/Auth.php

index 8c5b41d..59930aa 100644 (file)
@@ -373,7 +373,7 @@ class Horde_Auth
 
         /* Check for cached authentication results. */
         if ($is_auth &&
-            (($_SESSION['horde_auth']['driver'] == $driver) ||
+            ((isset($_SESSION['horde_auth']['driver']) &&$_SESSION['horde_auth']['driver'] == $driver) ||
              isset($_SESSION['horde_auth']['app'][$driver]))) {
             return self::checkExistingAuth();
         }