mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
fixed broken ratings fetching
This commit is contained in:
parent
91c49d9233
commit
0bb69ab3ad
@ -2056,7 +2056,8 @@ function forum_get_ratings($context, $postid, $sort="u.firstname ASC") {
|
||||
$options->itemid = $postid;
|
||||
$options->sort = "ORDER BY $sort";
|
||||
|
||||
get_all_ratings_for_item($options);
|
||||
$rm = new rating_manager();
|
||||
$rm->get_all_ratings_for_item($options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user