diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2020-04-05 16:56:35 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2020-04-05 21:59:55 +0200 |
commit | 1369eb87b3ff29f13855c10ad0c5c6d4e6bdfe49 (patch) | |
tree | c17d0ecb93cdbfd349d5e4a6a03434f5ceb4e79a /web/lib | |
parent | 853ed9a950cc3b70b57be3deb6d20c131c0cbfe3 (diff) | |
download | aur-1369eb87b3ff29f13855c10ad0c5c6d4e6bdfe49.tar.gz aur-1369eb87b3ff29f13855c10ad0c5c6d4e6bdfe49.tar.xz |
Fix invalid session ID check
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib')
-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 dbcc23a4..f4ad6b47 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -50,7 +50,7 @@ function check_sid() { $result = $dbh->query($q); $row = $result->fetch(PDO::FETCH_NUM); - if (!$row[0]) { + if (!$row) { # Invalid SessionID - hacker alert! # $failed = 1; |