]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from MOODLE_14_STABLE - Closing SC#66
authormartinlanghoff <martinlanghoff>
Sat, 22 Jan 2005 09:00:42 +0000 (09:00 +0000)
committermartinlanghoff <martinlanghoff>
Sat, 22 Jan 2005 09:00:42 +0000 (09:00 +0000)
course/edit.php

index 42d2c472f1d23cb7f5965bcc13f2dec944b1a9b6..edfa2ccf72f1a38e998c5d373b615c7a49faea55 100644 (file)
@@ -44,6 +44,8 @@
 
         $form->startdate = make_timestamp($form->startyear, $form->startmonth, $form->startday);
 
+        $form->format = optional_param('format', 'social', PARAM_ALPHA);
+
         validate_form($course, $form, $err);
 
         if (count($err) == 0) {