Commit 50e97446 authored by canyonknight's avatar canyonknight Committed by Lukas Fleischer
Browse files

acctfuncs.inc.php: Make user_suspended() work correctly



Fixes broken account suspension system.

Signed-off-by: default avatarcanyonknight <canyonknight@gmail.com>
Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 2c93f0a9
......@@ -795,7 +795,7 @@ function user_suspended( $id )
$result = db_query($q, $dbh);
if ($result) {
$row = mysql_fetch_row($result);
if ($result[0] == 1 ) {
if ($row[0]) {
return true;
}
}
......
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