From: moodler Date: Mon, 25 Aug 2003 15:59:39 +0000 (+0000) Subject: Fixed reports using the new scales (numerical etc) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=72bb2118b6817b51633bf4e7467c3b219be53981;p=moodle.git Fixed reports using the new scales (numerical etc) --- diff --git a/mod/forum/report.php b/mod/forum/report.php index 8fd9bbff61..9da4fbc81b 100644 --- a/mod/forum/report.php +++ b/mod/forum/report.php @@ -31,11 +31,7 @@ $sort = "r.time"; } - if (!$scale = get_record("scale", "id", $forum->scale)) { - error("Scale not found!"); - } - - $scalemenu = make_menu_from_list($scale->scale); + $scalemenu = make_grades_menu($forum->scale); $strratings = get_string("ratings", "forum"); $strrating = get_string("rating", "forum");