forked from science-ation/science-ation
Only show the max number of students per project, no matter what the address bar passes into $_GET
This commit is contained in:
parent
ee6454868f
commit
99ad9ae8e3
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user