Fix reg /vorgeschlagen
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
$vp = $film->upvotes;
|
$vp = $film->upvotes;
|
||||||
$np = $film->downvotes;
|
$np = $film->downvotes;
|
||||||
?>
|
?>
|
||||||
<span class="glyphicon glyphicon-transfer"></span> {{ $np != null ? $vp + $np : $film->votes }}
|
<span class="glyphicon glyphicon-transfer"></span> {{ !is_null($np) ? $vp + $np : $film->votes }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>
|
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>
|
||||||
|
Reference in New Issue
Block a user