From: skodak Date: Sun, 10 Dec 2006 18:23:50 +0000 (+0000) Subject: fixed mfrom typo X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e0a83a88ef4e18b07ee023b1d551812dd34feb94;p=moodle.git fixed mfrom typo --- diff --git a/mod/forum/post_form.php b/mod/forum/post_form.php index 2a8c388c68..02da5496af 100644 --- a/mod/forum/post_form.php +++ b/mod/forum/post_form.php @@ -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');