This might not be defined when login fails

This commit is contained in:
Michal Čihař
2011-02-07 18:49:47 +01:00
parent b0ecded21e
commit 148e35da06

View File

@@ -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'])) {