From edad8bec3cdf3c353fe3b92b04e8b54bb5174390 Mon Sep 17 00:00:00 2001 From: dwoolhead Date: Wed, 13 Jun 2007 14:30:42 +0000 Subject: [PATCH] MDL-10048 General calendar view enhancements as per spec with regard to event highlighting --- calendar/event.php | 2 ++ 1 file changed, 2 insertions(+) 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'); } -- 2.39.5