diff --git a/calendar/view.php b/calendar/view.php index 6e7c236419d..c25c1400fd3 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -624,10 +624,8 @@ function calendar_course_filter_selector($getvars = '') { $selected = ''; } - $form = popup_form(CALENDAR_URL.'set.php?var=setcourse&'.$getvars.'&id=', + return popup_form(CALENDAR_URL.'set.php?var=setcourse&'.$getvars.'&id=', $courseoptions, 'cal_course_flt', $selected, '', '', '', true); - - return str_replace('