Commit 1369eb87 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Fix invalid session ID check



Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 853ed9a9
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment