summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/lib/acctfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index 51078b8f..b7c3ee8f 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -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;
}
}