mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix invalid session ID check
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
853ed9a950
commit
1369eb87b3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue