mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
rating MDLSITE-1028 when no ratings have been submitted the aggregate is now output as an empty string rather than a hyphen
This commit is contained in:
parent
c27353510d
commit
42c32efdf2
1 changed files with 1 additions and 1 deletions
|
@ -1431,7 +1431,7 @@ class core_renderer extends renderer_base {
|
|||
$aggregatestr .= round($rating->aggregate,1);
|
||||
}
|
||||
} else {
|
||||
$aggregatestr = ' - ';
|
||||
$aggregatestr = '';
|
||||
}
|
||||
|
||||
$countstr = html_writer::start_tag('span', array('id'=>"ratingcount{$rating->itemid}"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue