diff --git a/calendar/event.php b/calendar/event.php index 993a8d72d8a..ca4df2a0af0 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -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'); }