diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index a45c9b69..7f923d75 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -186,7 +186,7 @@ function username_from_sid($sid="") { function html_format_username($username) { $username_fmt = $username ? htmlspecialchars($username, ENT_QUOTES) : __("None"); - if ($username && $_COOKIE["AURSID"]) { + if ($username && isset($_COOKIE["AURSID"])) { $link = '' . $username_fmt . '';