diff --git a/register_participants_students.php b/register_participants_students.php index ffa8a36..6c7c53c 100644 --- a/register_participants_students.php +++ b/register_participants_students.php @@ -316,9 +316,7 @@ if($config['participant_student_personal']=="yes") emit_month_selector("month[$x]",$month); echo "\n"; - //the year selector should be based on the min/max grades possible - //assume min age of 3 for grade=0 (kindergarden) - //assume max age of 18 for grade=12 + //the year selector should be based on the min/max ages possible (as set in $config) $minyearselect=$config['FAIRYEAR'] - $config['maxage']; $maxyearselect=$config['FAIRYEAR'] - $config['minage']; emit_year_selector("year[$x]",$year,$minyearselect,$maxyearselect);