mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
fixing a calendar warning
This commit is contained in:
parent
edeed697de
commit
68ad444b15
@ -526,7 +526,13 @@ function calendar_print_event($event) {
|
||||
$eventclass = ' '.$event->class;
|
||||
}
|
||||
|
||||
echo '<td class="description '.$event->cssclass.$eventclass.'">';
|
||||
if (isset($event->cssclass)) {
|
||||
$eclass = $event->cssclass.$eventclass;
|
||||
} else {
|
||||
$eclass = $eventclass;
|
||||
}
|
||||
|
||||
echo '<td class="description '.$eclass.'">';
|
||||
echo format_text($event->description, FORMAT_HTML);
|
||||
if (calendar_edit_event_allowed($event)) {
|
||||
echo '<div class="commands">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user