diff --git a/inc/HTTPAuthSession.php b/inc/HTTPAuthSession.php index 5ce70e98..b066148f 100644 --- a/inc/HTTPAuthSession.php +++ b/inc/HTTPAuthSession.php @@ -50,7 +50,7 @@ class HTTPAuthSession { function HTTPAuthSession() { global $c; - if ( $c->http_auth_mode == "Digest" ) { + if ( isset($c->http_auth_mode) && $c->http_auth_mode == "Digest" ) { $this->DigestAuthSession(); } else {