Bugfix: Filmdetails sehen ohne angemeldet zu sein

This commit is contained in:
2013-09-12 20:03:43 +02:00
parent 7620121fca
commit 521ecc46c1

View File

@@ -106,7 +106,7 @@
</div>
</div>
@endif
@if(is_null($film->gesehen))
@if(is_null($film->gesehen) && !is_null(Auth::user()))
<div class="container" style="text-align: center">
<div class="btn-group">
<a class="btn btn-lg btn-success <?php echo $uvote[0] && $uvote[1] ? "disabled" : ""; ?>" href="{{ url('vote', array('yes', Auth::user()->id, $film->id)) }}">