diff --git a/user/profile/field/datetime/define.class.php b/user/profile/field/datetime/define.class.php index 9beb35f5024..a499ca004a3 100644 --- a/user/profile/field/datetime/define.class.php +++ b/user/profile/field/datetime/define.class.php @@ -37,7 +37,7 @@ class profile_define_datetime extends profile_define_base { $form->setDefault('param2', $currentyear + 20); $form->addElement('checkbox', 'param3', get_string('wanttime', 'profilefield_datetime')); - $form->setType('param4', PARAM_INT); + $form->setType('param3', PARAM_INT); $form->addElement('hidden', 'defaultdata', '0'); $form->setType('defaultdata', PARAM_INT); diff --git a/user/profile/field/datetime/lang/en/profilefield_datetime.php b/user/profile/field/datetime/lang/en/profilefield_datetime.php index 132d2cb3207..612767633f9 100644 --- a/user/profile/field/datetime/lang/en/profilefield_datetime.php +++ b/user/profile/field/datetime/lang/en/profilefield_datetime.php @@ -5,7 +5,7 @@ * * @author Mark Nelson - Pukunui Technology * @license http://www.gnu.org/copyleft/gpl.html GNU Public License - * @version 20100611 + * @version 20101022 */ $string['currentdatedefault'] = 'Check to use current date as default';