From: Michael M Slusarz Date: Fri, 22 Jan 2010 18:49:34 +0000 (-0700) Subject: Fix undefined error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c351d491c0bced8474c5e14d5e306109c8337b86;p=horde.git Fix undefined error --- diff --git a/imp/lib/Auth.php b/imp/lib/Auth.php index 8f7b8a50b..86135ff09 100644 --- a/imp/lib/Auth.php +++ b/imp/lib/Auth.php @@ -33,7 +33,8 @@ class IMP_Auth { // Do 'horde' authentication. $imp_app = $GLOBALS['registry']->getApiInstance('imp', 'application'); - if ($imp_app->initParams['authentication'] == 'horde') { + if (!empty($imp_app->initParams['authentication']) && + ($imp_app->initParams['authentication'] == 'horde')) { if (Horde_Auth::getAuth()) { return false; }