1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 06:22:22 +00:00

Les équipes non validées ne peuvent pas procéder au paiement

This commit is contained in:
Yohann D'ANELLO 2020-01-18 17:28:31 +01:00
parent 1909dd3835
commit 9213258df4

View File

@ -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 {