diff options
author | Marc Delisle <marc@infomarc.info> | 2009-07-03 02:27:32 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2009-07-03 02:27:32 +0400 |
commit | c1a229d02b3458562257d0f38fa817a9de2c62cb (patch) | |
tree | e18fbb0d06c355c6263eee8e2c8652f6393492e9 | |
parent | 60536d78e16eced688f29d8cb6a378707bc6ef92 (diff) |
undefined message in some situations, for example when doing a logout after an import
-rw-r--r-- | import_status.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import_status.php b/import_status.php index 5ce2536742..fa148f06e5 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'); |