diff --git a/register_participants_students.php b/register_participants_students.php index 8689206..e44eb71 100644 --- a/register_participants_students.php +++ b/register_participants_students.php @@ -121,7 +121,7 @@ if($_POST['action']=="save") { //if they use schoolpassword or singlepassword, then we dont need to save teh schools_id because its already set when they inserted the record, and we dont allow them to change their school. - if(( $config['participant_registration_type']=="schoolpassword" || $config['participant_registration_type']=="invite") && !$_POST['schools_id']) + if(( $config['participant_registration_type']=="schoolpassword" || $config['participant_registration_type']=="invite") && !$_POST['schools_id'][$x]) { $schoolquery=""; } @@ -381,7 +381,7 @@ if($config['participant_student_personal']=="yes") echo "