undefined message in some situations, for example when doing a logout after an import

This commit is contained in:
Marc Delisle
2009-07-02 22:27:32 +00:00
parent 60536d78e1
commit c1a229d02b

View File

@@ -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');