Skip to content

Commit

Permalink
Fix for rating decimals in list view
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Jan 22, 2018
1 parent b8d9ad9 commit 81f4de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fabrik_element/rating/rating.php
Expand Up @@ -236,7 +236,7 @@ protected function getRatingAverage($data, $listId, $formId, $rowId, $ids = arra
$float = (int) $params->get('rating_float', 0);
$this->avg = number_format($r, $float);

return array(round($r), $t);
return array($this->avg, $t);
}

/**
Expand Down

0 comments on commit 81f4de7

Please sign in to comment.