From 148e35da06a5e6792bc15e23c4efc10c3f5f36c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 7 Feb 2011 18:49:47 +0100 Subject: [PATCH] This might not be defined when login fails --- libraries/header.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/header.inc.php b/libraries/header.inc.php index dee9b1532..a4fdfc687 100644 --- a/libraries/header.inc.php +++ b/libraries/header.inc.php @@ -17,7 +17,7 @@ require_once './libraries/common.inc.php'; /** * If this is an Ajax request, we do not need to generate all this output. */ -if (!$GLOBALS['is_ajax_request']) { +if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) { if (empty($GLOBALS['is_header_sent'])) {