Switch the namecheck to check both/any/all students in the project, not just the one logged in.

This commit is contained in:
james 2008-09-05 18:50:36 +00:00
parent 2f56404903
commit d61fa75b0d

View File

@ -186,10 +186,7 @@ echo "<table><tr><td>";
echo "</a>";
echo "</td><td>";
//check to see if its complete
//FIXME: the namecheckStatus should use the commented line below that sends the registraiton_id in to check that BOTH students are complete, but I cant turn it on now otherwise a lot of people that are already 'complete' will suddenly become incomplete, and since most fairs are after the registraiton deadline, they wont be able to save it to make it complete again.
//$statusnamecheck=namecheckStatus($_SESSION['registration_id']);
$statusnamecheck=namecheckStatus();
$statusnamecheck=namecheckStatus($_SESSION['registration_id']);
echo outputStatus($statusnamecheck);
echo "</td></tr>";