diff --git a/admin/students_info.php b/admin/students_info.php index 9bc1389b..b95170b4 100644 --- a/admin/students_info.php +++ b/admin/students_info.php @@ -52,7 +52,7 @@ echo "\n"; echo "\n"; echo " ".i18n("Grade")."$studentinfo->grade\n"; - echo " ".i18n("Sex")."$studentinfo->sex\n"; + echo " ".i18n("Gender")."$studentinfo->sex\n"; echo "\n"; echo "\n"; echo " ".i18n("Email Address")."$studentinfo->email\n"; diff --git a/db/db.code.version.txt b/db/db.code.version.txt index 2bd5a0a9..40994076 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -22 +23 diff --git a/db/db.update.23.sql b/db/db.update.23.sql new file mode 100644 index 00000000..fcf062eb --- /dev/null +++ b/db/db.update.23.sql @@ -0,0 +1 @@ +ALTER TABLE `students` CHANGE `sex` `sex` ENUM( 'male', 'female' ) NULL DEFAULT NULL; diff --git a/register_participants_students.php b/register_participants_students.php index e44eb71e..c918c351 100644 --- a/register_participants_students.php +++ b/register_participants_students.php @@ -267,7 +267,7 @@ else if($newstatus=="complete") if($config['participant_student_personal']=="yes") { echo "\n"; - echo " ".i18n("Sex").""; + echo " ".i18n("Gender").""; echo "