forked from science-ation/science-ation
if min mentors is >0 only let them select between min and max
This commit is contained in:
parent
2744901aac
commit
0ba15a3f4f
@ -140,7 +140,7 @@ else if($newstatus=="complete")
|
||||
echo "<select name=\"nummentors\" onchange=\"document.forms.nummentorsform.submit()\">\n";
|
||||
if($registrations_nummentors==null) $sel="selected=\"selected\""; else $sel="";
|
||||
echo "<option $sel value=\"\">".i18n("Choose")."</option>\n";
|
||||
for($x=0;$x<=$config['maxmentorsperproject'];$x++)
|
||||
for($x=$config['minmentorsperproject'];$x<=$config['maxmentorsperproject'];$x++)
|
||||
{
|
||||
//dont let them go less than the number we found. to go less, they must delete each record individually
|
||||
if($x<$numfound)
|
||||
|
Loading…
Reference in New Issue
Block a user