...
This commit is contained in:
parent
ed0c445bfa
commit
30f6157606
15 changed files with 248 additions and 169 deletions
|
|
@ -272,7 +272,7 @@ class Tipp extends Model
|
|||
$round_ids=array();
|
||||
|
||||
// Write sql result to roundtipps (score per round & user)
|
||||
if ($max_round_id==-1) { $max_round_id=Round::getLastLockedRoundId(); }
|
||||
if ($max_round_id==-1) { $max_round_id=Round::getLastCompleteRoundId(); }
|
||||
foreach ($result as $entry) {
|
||||
$round_id = $entry->round_id;
|
||||
if ($max_round_id >-1 && $round_id>$max_round_id) break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue