From 91d122ab3ea28e9e1cab5e24cf906b6df1c28f3a Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 30 Jan 2007 06:25:51 +0000 Subject: [PATCH] - Forgot a mysql_num_rows when checking for award selection completion --- register_judges.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register_judges.inc.php b/register_judges.inc.php index c18abc6..b4a623b 100644 --- a/register_judges.inc.php +++ b/register_judges.inc.php @@ -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']}'