mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-59750 core_calendar: fix minithree logic on get_view
This commit is contained in:
parent
563ae695dc
commit
c602220798
@ -3095,9 +3095,9 @@ function calendar_get_view(\calendar_information $calendar, $view, $includenavig
|
||||
];
|
||||
|
||||
$data = [];
|
||||
if ($view == "month" || $view == "mini") {
|
||||
if ($view == "month" || $view == "mini" || $view == "minithree") {
|
||||
$month = new \core_calendar\external\month_exporter($calendar, $type, $related);
|
||||
$month->set_includenavigation($includenavigation);
|
||||
$month->set_includenavigation($includenavigation);
|
||||
$data = $month->export($renderer);
|
||||
} else if ($view == "day") {
|
||||
$daydata = $type->timestamp_to_date_array($tstart);
|
||||
|
Loading…
x
Reference in New Issue
Block a user