Bugfix: Gesamtsumme der Stimmen auf /beliebt wieder korrekt. Auf Film-Seite, inaktive Nutzer gekennzeichnet.

This commit is contained in:
2016-05-20 05:39:35 +02:00
parent 372eadd0d9
commit d0b73e92ec
4 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@
$vp = $film->upvotes;
$np = $film->downvotes;
?>
<span class="glyphicon glyphicon-transfer"></span>&nbsp;{{ $vp + $np }}
<span class="glyphicon glyphicon-transfer"></span>&nbsp;{{ $np != null ? $vp + $np : $film->votes }}
</td>
<td>
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>