fixed mfrom typo

This commit is contained in:
skodak
2006-12-10 18:23:50 +00:00
parent 9c1fbd3b81
commit e0a83a88ef
+1 -1
View File
@@ -78,7 +78,7 @@ class forum_post_form extends moodleform {
$mform->setType('timestart', PARAM_INT);
$mform->addElement('hidden', 'timeend');
$mform->setType('timeend', PARAM_INT);
$mfrom->setConstants(array('timestart'=> 0, 'timeend'=>0));
$mform->setConstants(array('timestart'=> 0, 'timeend'=>0));
}
if (isset($post->edit)) {
$submit_string = get_string('savechanges');