bugfix: Zeige alle negativen Stimmen
This commit is contained in:
@@ -57,7 +57,7 @@ Route::get('film/{id}', array('as' => 'film', function($id) {
|
|||||||
|
|
||||||
$nv = "";
|
$nv = "";
|
||||||
foreach($film->votes()->where('stimme', false)->get() as $v) {
|
foreach($film->votes()->where('stimme', false)->get() as $v) {
|
||||||
$nv = $v->voter->name . "<br> ";
|
$nv .= $v->voter->name . "<br> ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!is_null(Auth::user()) && $film->votes()->where('user', Auth::user()->id)->count() > 0) {
|
if(!is_null(Auth::user()) && $film->votes()->where('user', Auth::user()->id)->count() > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user