Permalink
Browse files

Merge branch 'MDL-36331_redirect_23' of git://github.com/andyjdavis/m…

…oodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents f73a131 + 11694f3 commit 43c6aa915e45eb0def7f2203790c63a5a0d7f1e9 @danpoltawski danpoltawski committed Nov 15, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 grade/edit/tree/calculation.php
  2. +1 −1 grade/edit/tree/grade.php
@@ -48,7 +48,7 @@
// default return url
$gpr = new grade_plugin_return();
-$returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/report.php?id='.$course->id);
+$returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/report/index.php?id='.$course->id);
if (!$grade_item = grade_item::fetch(array('id'=>$id, 'courseid'=>$course->id))) {
print_error('invaliditemid');
@@ -57,7 +57,7 @@
// default return url
$gpr = new grade_plugin_return();
-$returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/report.php?id='.$course->id);
+$returnurl = $gpr->get_return_url($CFG->wwwroot.'/grade/report/index.php?id='.$course->id);
// security checks!
if (!empty($id)) {

0 comments on commit 43c6aa9

Please sign in to comment.