Bugfix Jokerlimit

This commit is contained in:
Torsten Schneider 2021-04-18 17:45:24 +02:00
parent d0e8cd7139
commit 96007ee377

View file

@ -327,7 +327,7 @@ class TippsController extends Controller
// Neuerung 2020-01-09: Joker nur speichern, wenn Ergebnis nicht schon zu oft "gejokert" wurde.
if ($tipp->joker) {
$jokertipps=Tipp::getJokerUsageArray($user->id,$round_id);
$key=$tipp->score1.":".$tipp->score2;
$key=score1.":".score2;
Log::info("Key(Gamescore):".$key);
if (array_key_exists($key,$jokertipps)) {
//Log::info("Key found in jokertipps array");