From 72bb2118b6817b51633bf4e7467c3b219be53981 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 25 Aug 2003 15:59:39 +0000 Subject: [PATCH] Fixed reports using the new scales (numerical etc) --- mod/forum/report.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mod/forum/report.php b/mod/forum/report.php index 8fd9bbff61a..9da4fbc81b4 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");