diff --git a/register_participants_students.php b/register_participants_students.php index 78f7528..54dc6c4 100644 --- a/register_participants_students.php +++ b/register_participants_students.php @@ -245,6 +245,9 @@ else if($newstatus=="complete") echo ""; echo ""; + if($numtoshow>$config['maxstudentsperproject']) + $numtoshow=$config['maxstudentsperproject']; + echo "
"; echo ""; for($x=1;$x<=$numtoshow;$x++)