aboutsummaryrefslogtreecommitdiff
path: root/lib/models/OERReview.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/OERReview.php')
-rw-r--r--lib/models/OERReview.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/models/OERReview.php b/lib/models/OERReview.php
index 69a672f..e5b9fd4 100644
--- a/lib/models/OERReview.php
+++ b/lib/models/OERReview.php
@@ -204,15 +204,15 @@ class OERReview extends BlubberThread
$data['thread_posting']['html'] .= "<div>";
$rating = round($this['metadata']['rating'], 1);
$v = $rating >= 0.75 ? "" : ($rating >= 0.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 1.75 ? "" : ($rating >= 1.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 2.75 ? "" : ($rating >= 2.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 3.75 ? "" : ($rating >= 3.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$v = $rating >= 4.75 ? "" : ($rating >= 4.25 ? "-halffull" : "-empty");
- $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asSvg(25);
+ $data['thread_posting']['html'] .= Icon::create("star{$v}", 'info')->asImg(25);
$data['thread_posting']['html'] .= "</div>";
return $data;