diff options
Diffstat (limited to 'web/lib/aur.inc.php')
-rw-r--r-- | web/lib/aur.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index a45c9b6..7f923d7 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 = '<a href="' . get_uri('/account/') . $username_fmt; $link .= '" title="' . __('View account information for %s', $username_fmt); $link .= '">' . $username_fmt . '</a>'; |