forked from science-ation/science-ation
Also allow school editting for "open or invite" registration.
This commit is contained in:
parent
3e0b4227bc
commit
1dfdcc543b
@ -344,7 +344,7 @@ function students_load()
|
||||
|
||||
echo "<tr>\n";
|
||||
echo " <td>".i18n("School")."</td><td colspan=\"3\">";
|
||||
if( $config['participant_registration_type']=="open" || $config['participant_registration_type']=="singlepassword" || ($studentinfo && !$studentinfo->schools_id) )
|
||||
if( $config['participant_registration_type']=="open" || $config['participant_registration_type']=="singlepassword" || $config['participant_registration_type']=="openorinvite" || ($studentinfo && !$studentinfo->schools_id) )
|
||||
{
|
||||
$schoolq=mysql_query("SELECT id,school,city FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER by city,school");
|
||||
echo "<select name=\"schools_id[$x]\">\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user