Only show the max number of students per project, no matter what the address bar passes into $_GET

This commit is contained in:
james 2007-03-26 16:29:20 +00:00
parent ee6454868f
commit 99ad9ae8e3

View File

@ -245,6 +245,9 @@ else if($newstatus=="complete")
echo "</select>";
echo "</form>";
if($numtoshow>$config['maxstudentsperproject'])
$numtoshow=$config['maxstudentsperproject'];
echo "<form name=\"studentdata\" method=\"post\" action=\"register_participants_students.php\">";
echo "<input type=\"hidden\" name=\"action\" value=\"save\" />";
for($x=1;$x<=$numtoshow;$x++)