From: dwoolhead Date: Wed, 13 Jun 2007 14:30:42 +0000 (+0000) Subject: MDL-10048 General calendar view enhancements as per spec with regard to event highlig... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=edad8bec3cdf3c353fe3b92b04e8b54bb5174390;p=moodle.git MDL-10048 General calendar view enhancements as per spec with regard to event highlighting --- diff --git a/calendar/event.php b/calendar/event.php index 993a8d72d8..ca4df2a0af 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'); }