From a4faab66e0c9797d53690681c70342e539b1df79 Mon Sep 17 00:00:00 2001 From: james Date: Sat, 26 Nov 2005 18:59:44 +0000 Subject: [PATCH] Fix the divisions query to query the divisions from this year properly --- admin/reports_judges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/reports_judges.php b/admin/reports_judges.php index 1313a53..6aacbb8 100644 --- a/admin/reports_judges.php +++ b/admin/reports_judges.php @@ -73,7 +73,7 @@ $table['header']=array( i18n("ID"), //grab the list of divisions, because the last fields of the table will be the sub-divisions -$q=mysql_query("SELECT * FROM projectdivisions ORDER BY id AND year='".$config['FAIRYEAR']."'"); +$q=mysql_query("SELECT * FROM projectdivisions WHERE year='".$config['FAIRYEAR']."' ORDER BY id"); $divheadings=array(); while($r=mysql_fetch_object($q)) {