minor fix in user module. The user cookie was checked for a value even if the cookie does not exist

This commit is contained in:
Michael Meckelein 2006-04-12 12:24:04 +00:00
parent 64e993fc30
commit 57e734b804

View File

@ -550,7 +550,7 @@ function WriteStandardHeader($myMsg)
echo "<br>";
// If a user is logged in, display logout text
if( isset($_COOKIE["usr"]) || $_COOKIE["usr"] != "|")
if( isset($_COOKIE["usr"]) && $_COOKIE["usr"] != "|")
{
echo '<table align="right">';
echo '<tr>';