From 8900c49a9162ef1560de285097c28a6ad5f36ef8 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 24 Mar 2026 17:50:05 +0000 Subject: [PATCH] fg --- Controleur/ControleurGedadherent.php | 1 + Modele/Ged.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Controleur/ControleurGedadherent.php b/Controleur/ControleurGedadherent.php index 2bd5063..acabbc6 100644 --- a/Controleur/ControleurGedadherent.php +++ b/Controleur/ControleurGedadherent.php @@ -90,6 +90,7 @@ class ControleurGedadherent extends Controleur { // on va envoyer dans la base de données $this->ged->enregistrergedadherent($nomOrigine, $nouveau_fichier, $taille, $codeNaturePiece, $libelleAutre); + $this->rediriger("Gedadherent"); } else diff --git a/Modele/Ged.php b/Modele/Ged.php index d254795..b276a15 100755 --- a/Modele/Ged.php +++ b/Modele/Ged.php @@ -92,6 +92,8 @@ class Ged extends Modele { $cheminFichier = $_SESSION['dossierGed'].$nouveau_fichier; $sql = 'call sp_ajouter_ged_adherent_rh(?, ?, ?, ?, ?, ?, ?);'; + + var_dump(array($idAdherent, $nomOrigine, $cheminFichier, $taille, $user, $codeNaturePiece, $libelleAutre)); die(); $this->executerRequete($sql, array($idAdherent, $nomOrigine, $cheminFichier, $taille, $user, $codeNaturePiece, $libelleAutre)); }