forked from science-ation/science-ation
Only consider judges teams from the current fair year when calculating what judging team number to start numbering at
This commit is contained in:
parent
bc3727b5c1
commit
572242bc14
@ -573,7 +573,7 @@ function pr_judge(&$jt, $jid)
|
||||
|
||||
|
||||
/* Find the maximum judging team number */
|
||||
$q = mysql_query("SELECT MAX(num) as max FROM judges_teams");
|
||||
$q = mysql_query("SELECT MAX(num) as max FROM judges_teams WHERE year='{$config['FAIRYEAR']}'");
|
||||
$r = mysql_fetch_object($q);
|
||||
$max_jteam_num = $r->max;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user