diff --git a/Controleur/ControleurGedadherent.php b/Controleur/ControleurGedadherent.php index acabbc6..e25faf1 100644 --- a/Controleur/ControleurGedadherent.php +++ b/Controleur/ControleurGedadherent.php @@ -23,9 +23,6 @@ class ControleurGedadherent extends Controleur { $nouveau_fichier = "rien"; - $nomOrigine = $this->requete->getParametreFormulaire("nomOrigine"); - $codeNaturePiece = $this->requete->getParametreFormulaire("codeNaturePiece"); - if(!empty($_POST)) { define('TARGET', $_SESSION['cheminGed']); // Repertoire cible @@ -141,7 +138,7 @@ class ControleurGedadherent extends Controleur { $d2 = date('Y-m-d'); - $geds = $this->ged->getgedadherent($d1, $d2, $nomOrigine, $codeNaturePiece); + $geds = $this->ged->getgedadherent($d1, $d2, "", ""); unset($_FILES['fichier_upload']); diff --git a/Modele/Ged.php b/Modele/Ged.php index b276a15..a4dc845 100755 --- a/Modele/Ged.php +++ b/Modele/Ged.php @@ -93,7 +93,7 @@ class Ged extends Modele { $sql = 'call sp_ajouter_ged_adherent_rh(?, ?, ?, ?, ?, ?, ?);'; - var_dump(array($idAdherent, $nomOrigine, $cheminFichier, $taille, $user, $codeNaturePiece, $libelleAutre)); die(); + //var_dump(array($idAdherent, $nomOrigine, $cheminFichier, $taille, $user, $codeNaturePiece, $libelleAutre)); die(); $this->executerRequete($sql, array($idAdherent, $nomOrigine, $cheminFichier, $taille, $user, $codeNaturePiece, $libelleAutre)); }