From 58d24ca1a4fe482ffd603f7ae17ebc076ad33159 Mon Sep 17 00:00:00 2001 From: grouille Date: Tue, 14 Apr 2020 19:43:37 +0200 Subject: [PATCH] Test --- site/formInscription.php | 5 ++--- site/inscrire.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/site/formInscription.php b/site/formInscription.php index 2a7fa5e..e215bce 100644 --- a/site/formInscription.php +++ b/site/formInscription.php @@ -2,7 +2,6 @@ require_once("accesBase.php"); if(getGroupe($_SESSION['Login'])!=1) { header("Location: accueil.php"); } - $groupes = getGroupes(); ?>
@@ -28,10 +27,10 @@ $groupes = getGroupes(); diff --git a/site/inscrire.php b/site/inscrire.php index 99a8fdf..fc9f5fd 100644 --- a/site/inscrire.php +++ b/site/inscrire.php @@ -15,7 +15,7 @@ session_start(); include("header.php"); require_once("accesBase.php"); if(getGroupe($_SESSION['Login'])==1) - { include("formConnexion.php"); } + { include("formInscription.php"); } else { header("Location: accueil.php"); } ?> -- libgit2 0.21.2