Only check if the cwsf division id is set once per project, not for each student

This commit is contained in:
james 2006-10-19 23:31:28 +00:00
parent 2c6568ca22
commit f3e8762f2e

View File

@ -285,15 +285,15 @@ function xmlCreateRecurse($d)
$error=true;
}
if(!$winner['division_id'])
{
echo "<br />";
echo error(i18n("Choose a CWSF Division"),"inline");
$error=true;
}
echo "<br />";
}
if(!$winner['division_id'])
{
echo "<br />";
echo error(i18n("Choose a CWSF Division"),"inline");
$error=true;
}
echo "</td><td>";
$t=mysql_query("SELECT * FROM projectdivisions WHERE year='".$config['FAIRYEAR']."' AND id='".$winner['projectdivisions_id']."'");