Les équipes non validées ne peuvent pas procéder au paiement
This commit is contained in:
parent
1909dd3835
commit
9213258df4
|
@ -13,6 +13,9 @@ $team = $_SESSION["team"];
|
|||
$tournament = $team->getEffectiveTournament();
|
||||
$payment = $user->getPayment();
|
||||
|
||||
if ($team->getValidationStatus() != ValidationStatus::VALIDATED)
|
||||
require_once "server_files/403.php";
|
||||
|
||||
if (isset($_POST["pay"])) {
|
||||
$pay = new Pay($_POST);
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue