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 "</a>";
echo "</td><td>"; echo "</td><td>";
//check to see if its complete //check to see if its complete
$statusnamecheck=namecheckStatus($_SESSION['registration_id']);
//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();
echo outputStatus($statusnamecheck); echo outputStatus($statusnamecheck);
echo "</td></tr>"; echo "</td></tr>";