Corrected total number of player count

This commit is contained in:
Torsten 2018-12-28 09:00:17 +01:00
parent 157b9d8b5e
commit 0cd764cc0e

View file

@ -122,9 +122,10 @@ class UsersController extends Controller
if (!$currentSeason) { return redirect('/'); } if (!$currentSeason) { return redirect('/'); }
$active_user_count = sizeof( $activeUsers ); $active_user_count = sizeof( $activeUsers );
$total_user_count = sizeof( DB::table('payments')->where('season_id',$currentSeason->id)->get() ); //$total_user_count = sizeof( DB::table('payments')->where('season_id',$currentSeason->id)->get() );
$users = DB::table('users')->where('deleted',null)->orderBy('lastname')->get(); $users = DB::table('users')->where('deleted',null)->orderBy('lastname')->get();
$total_user_count = sizeof($users);
Log::info($b->getEndMessage()); Log::info($b->getEndMessage());