From f3d7cdffda74b4ca2d5b22e5cff0990ae1a4f42d Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Thu, 23 Oct 2014 11:31:55 +0800 Subject: [PATCH] MDL-47836 Grades: Fix the url for the upgraded grades warning page url. --- grade/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grade/lib.php b/grade/lib.php index 1b8c824db75..aa33568e714 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -897,7 +897,7 @@ function print_grade_page_head($courseid, $active_type, $active_plugin=null, $returnval .= print_natural_aggregation_upgrade_notice($courseid, context_course::instance($courseid), - '/grade/report/' . $active_plugin . '/index.php', + $PAGE->url, $return); if ($return) {