user-profile-field-datetime MDL-24806 Fixed typo
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user