From: Michael J. Rubinsky Date: Tue, 22 Dec 2009 03:31:52 +0000 (-0500) Subject: $_SESSION['imp']['server_key'] might not be defined. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ec31e7c3d9d9ccc3c3b006205f5c4a673a5d212a;p=horde.git $_SESSION['imp']['server_key'] might not be defined. Not sure if the third check is necessary any more with this change... --- diff --git a/imp/lib/Imap.php b/imp/lib/Imap.php index fc1739a85..ff30d937d 100644 --- a/imp/lib/Imap.php +++ b/imp/lib/Imap.php @@ -127,6 +127,7 @@ class IMP_Imap } if (empty($_SESSION['imp']) || + empty($_SESSION['imp']['server_key']) || empty($_SESSION['imp']['imap_ob'][$_SESSION['imp']['server_key']])) { return false; }