forked from science-ation/science-ation
- Forgot a mysql_num_rows when checking for award selection completion
This commit is contained in:
parent
77226edb5f
commit
91d122ab3e
@ -116,8 +116,8 @@ function specialawardStatus()
|
||||
|
||||
$q = mysql_query("SELECT typepref FROM judges WHERE
|
||||
id='{$_SESSION['judges_id']}'");
|
||||
if(mysql_num_rows($q) != 1) return "incomplete";
|
||||
$r = mysql_fetch_object($q);
|
||||
if($r != 1) return "incomplete";
|
||||
|
||||
$qq = mysql_query("SELECT COUNT(id) AS num FROM judges_specialaward_sel
|
||||
WHERE judges_id='{$_SESSION['judges_id']}'
|
||||
|
Loading…
Reference in New Issue
Block a user