Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/lib/aur.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>';
-- 
2.4.4

Reply via email to