MDL-43265 question: incorrect closing parenthesis

This commit is contained in:
Eloy Lafuente (stronk7)
2014-02-19 00:11:47 +01:00
parent cb3385aefa
commit cb7bdd7dd3
+1 -1
View File
@@ -181,7 +181,7 @@ abstract class question_edit_form extends question_wizard_form {
}
$mform->addElement('text', 'name', get_string('questionname', 'question'),
array('size' => 50, 'maxlength' => 255)));
array('size' => 50, 'maxlength' => 255));
$mform->setType('name', PARAM_TEXT);
$mform->addRule('name', null, 'required', null, 'client');