Bugfix Jokerlimit
This commit is contained in:
parent
d0e8cd7139
commit
96007ee377
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ class TippsController extends Controller
|
||||||
// Neuerung 2020-01-09: Joker nur speichern, wenn Ergebnis nicht schon zu oft "gejokert" wurde.
|
// Neuerung 2020-01-09: Joker nur speichern, wenn Ergebnis nicht schon zu oft "gejokert" wurde.
|
||||||
if ($tipp->joker) {
|
if ($tipp->joker) {
|
||||||
$jokertipps=Tipp::getJokerUsageArray($user->id,$round_id);
|
$jokertipps=Tipp::getJokerUsageArray($user->id,$round_id);
|
||||||
$key=$tipp->score1.":".$tipp->score2;
|
$key=score1.":".score2;
|
||||||
Log::info("Key(Gamescore):".$key);
|
Log::info("Key(Gamescore):".$key);
|
||||||
if (array_key_exists($key,$jokertipps)) {
|
if (array_key_exists($key,$jokertipps)) {
|
||||||
//Log::info("Key found in jokertipps array");
|
//Log::info("Key found in jokertipps array");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue