From c1a229d02b3458562257d0f38fa817a9de2c62cb Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 2 Jul 2009 22:27:32 +0000 Subject: [PATCH] undefined message in some situations, for example when doing a logout after an import --- import_status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import_status.php b/import_status.php index 5ce253674..fa148f06e 100644 --- a/import_status.php +++ b/import_status.php @@ -14,7 +14,7 @@ header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 11 Jan 1991 06:30:00 GMT"); // Date in the past // $GLOBALS["message"] is used for asking for an import message -if ($GLOBALS["message"]) { +if (isset($GLOBALS["message"]) && $GLOBALS["message"]) { header('Content-type: text/html');