From 57e734b8040c07aced5db44e2edd66ad3f0d4cd8 Mon Sep 17 00:00:00 2001 From: Michael Meckelein Date: Wed, 12 Apr 2006 12:24:04 +0000 Subject: [PATCH] minor fix in user module. The user cookie was checked for a value even if the cookie does not exist --- include.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include.php b/include.php index 243c83a..9889399 100644 --- a/include.php +++ b/include.php @@ -550,7 +550,7 @@ function WriteStandardHeader($myMsg) echo "
"; // If a user is logged in, display logout text - if( isset($_COOKIE["usr"]) || $_COOKIE["usr"] != "|") + if( isset($_COOKIE["usr"]) && $_COOKIE["usr"] != "|") { echo ''; echo '';