Merge branch 'MDL-59014-master' of git://github.com/junpataleta/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 30 May 2017 07:31:47 +0000 (08:31 +0100)
committerDan Poltawski <dan@moodle.com>
Tue, 30 May 2017 07:31:47 +0000 (08:31 +0100)
calendar/lib.php

index 1d5c19b..55ad67f 100644 (file)
@@ -1481,7 +1481,7 @@ function calendar_get_mini($courses, $groups, $users, $calmonth = false, $calyea
                 $class .= ' duration_finish';
             }
             $data = array(
-                'url' => $dayhref,
+                'url' => $dayhref->out(false),
                 'day' => $day,
                 'content' => $popupdata['data-core_calendar-popupcontent'],
                 'title' => $popupdata['data-core_calendar-title']