]> git.mjollnir.org Git - moodle.git/commitdiff
fixed mfrom typo
authorskodak <skodak>
Sun, 10 Dec 2006 18:23:50 +0000 (18:23 +0000)
committerskodak <skodak>
Sun, 10 Dec 2006 18:23:50 +0000 (18:23 +0000)
mod/forum/post_form.php

index 2a8c388c68d0809928d5b89cfb72a43063aa5569..02da5496af8afb2c13d4ece53544a8be5e19ff67 100644 (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');