Fix reg /vorgeschlagen

This commit is contained in:
2016-05-20 05:47:41 +02:00
parent d0b73e92ec
commit c66f7d19a4

View File

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