user-profile-field-datetime MDL-24806 Fixed typo

This commit is contained in:
Sam Hemelryk 2010-11-11 05:04:07 +00:00
parent 41a42c1d02
commit 3cf8629554
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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';