Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91c49d9
)
fixed broken ratings fetching
author
Petr Skoda
<skodak@moodle.org>
Sat, 18 Sep 2010 12:54:24 +0000
(12:54 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Sat, 18 Sep 2010 12:54:24 +0000
(12:54 +0000)
mod/forum/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/forum/lib.php
b/mod/forum/lib.php
index
005ed08
..
e8a3349
100644
(file)
--- a/
mod/forum/lib.php
+++ b/
mod/forum/lib.php
@@
-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);
}
/**