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:
@@ -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}"));
|
||||
|
||||
Reference in New Issue
Block a user