MDL-32797 wiki 2.0: Default value for "First page name" is not set

This commit is contained in:
Rajesh Taneja
2012-08-17 14:32:08 +08:00
parent c92d6f417c
commit e436064fe1
-2
View File
@@ -65,8 +65,6 @@ class mod_wiki_mod_form extends moodleform_mod {
$attr = array('size' => '20');
if (!empty($this->_instance)) {
$attr['disabled'] = 'disabled';
} else {
$attr['value'] = get_string('firstpagetitle', 'wiki');
}
$mform->addElement('text', 'firstpagetitle', get_string('firstpagetitle', 'wiki'), $attr);