@@ -27,7 +27,7 @@
$vp = $film->upvotes;
$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>
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>