FIxes for bug 5197

This commit is contained in:
moodler 2006-04-15 02:41:27 +00:00
parent 354d3295d4
commit 3f9672d37c
2 changed files with 5 additions and 1 deletions

View file

@ -1106,6 +1106,8 @@ function data_get_ratings($recordid, $sort="u.firstname ASC") {
//prints all comments + a text box for adding additional comment
function data_print_comments($data, $record, $page=0) {
global $CFG;
echo '<a name="comments"></a>';
if ($comments = get_records('data_comments','recordid',$record->id)) {