]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10048 General calendar view enhancements as per spec with regard to event highlig...
authordwoolhead <dwoolhead>
Wed, 13 Jun 2007 14:30:42 +0000 (14:30 +0000)
committerdwoolhead <dwoolhead>
Wed, 13 Jun 2007 14:30:42 +0000 (14:30 +0000)
calendar/event.php

index 993a8d72d8a9f94e9afd731dc751ad0b642d0d21..ca4df2a0af038e89833986809693467658acf29d 100644 (file)
@@ -570,9 +570,11 @@ function validate_form(&$form, &$err) {
     if(empty($form->name)) {
         $err['name'] = get_string('errornoeventname', 'calendar');
     }
+/* Allow events without a description
     if(empty($form->description)) {
         $err['description'] = get_string('errornodescription', 'calendar');
     }
+*/
     if(!checkdate($form->startmon, $form->startday, $form->startyr)) {
         $err['timestart'] = get_string('errorinvaliddate', 'calendar');
     }