diff --git a/admin/student_editor.php b/admin/student_editor.php index c64abe4..70a1a12 100644 --- a/admin/student_editor.php +++ b/admin/student_editor.php @@ -328,13 +328,13 @@ if($config['participant_student_personal']=="yes") echo " ".i18n("School").""; if( $config['participant_registration_type']=="open" || $config['participant_registration_type']=="singlepassword" || ($studentinfo && !$studentinfo->schools_id) ) { - $schoolq=mysql_query("SELECT id,school FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER by school"); + $schoolq=mysql_query("SELECT id,school,city FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER by city,school"); echo "".REQUIREDFIELD;