mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fixing warning (postgres does not like where id = '')
This commit is contained in:
parent
da33ef095a
commit
900416ed8e
@ -58,7 +58,7 @@ class block_calendar_month extends block_base {
|
||||
$this->content->text .= calendar_get_mini($courses, $group, $user, $_GET['cal_m'], $_GET['cal_y']);
|
||||
// No filters for now
|
||||
|
||||
} else {
|
||||
} elseif (!empty($courseshown)) {
|
||||
// For any other course
|
||||
$this->content->text .= calendar_overlib_html();
|
||||
$this->content->text .= calendar_top_controls('course', array('id' => $courseshown, 'm' => $_GET['cal_m'], 'y' => $_GET['cal_y']));
|
||||
|
Loading…
x
Reference in New Issue
Block a user