Add missing array key
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 16 Oct 2009 11:54:15 +0000 (05:54 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 16 Oct 2009 11:54:15 +0000 (05:54 -0600)
framework/Auth/lib/Horde/Auth.php

index ab387f4..f630758 100644 (file)
@@ -673,7 +673,7 @@ class Horde_Auth
         }
 
         return isset($_SESSION['horde_auth']['app'])
-            ? @unserialize(Horde_Secret::read(Horde_Secret::getKey('auth'), $_SESSION['horde_auth']['app']))
+            ? @unserialize(Horde_Secret::read(Horde_Secret::getKey('auth'), $_SESSION['horde_auth']['app'][$app]))
             : false;
     }