mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-22 06:26:57 +01:00
Merge branch 'task/no-objects-of-not-a-pairing' into develop
This commit is contained in:
commit
07824e490b
@ -90,5 +90,4 @@ class Round
|
|||||||
{
|
{
|
||||||
$this->pairings = $pairings;
|
$this->pairings = $pairings;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -621,7 +621,9 @@ class Sws extends SwsModel
|
|||||||
$pairing->setRound($x);
|
$pairing->setRound($x);
|
||||||
$offset += 2;
|
$offset += 2;
|
||||||
|
|
||||||
$sws->getTournament()->addPairing($pairing);
|
if (!($result == Result::none && $opponent == 0)) {
|
||||||
|
$sws->getTournament()->addPairing($pairing);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user