Skip to content

Commit

Permalink
remove half star from filter
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolNet committed Jul 1, 2015
1 parent 47c24b5 commit 9dd4246
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Twig/RatingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ public function showRating($rating)

if ($rating < $count) {
$output = $output . $this->starEmpty;
} elseif($rating == $count) {
$output = $output . $this->starHalfEmpty;
}else {
} else {
$output = $output . $this->starFull;
}
}
Expand Down

0 comments on commit 9dd4246

Please sign in to comment.