diff --git a/Controleur/ControleurAjaxremplaceradherent.php b/Controleur/ControleurAjaxremplaceradherent.php index d7e101f..ced64b6 100644 --- a/Controleur/ControleurAjaxremplaceradherent.php +++ b/Controleur/ControleurAjaxremplaceradherent.php @@ -79,7 +79,7 @@ class ControleurAjaxremplaceradherent extends Controleur $adresseGeo = $this->requete->getParametreFormulaire("adresseGeo"); $adressePostale = $this->requete->getParametreFormulaire("adressePostale"); $codePays = $this->requete->getParametre("codePays"); - $telephonFixe = $this->requete->getParametreFormulaire("telephonFixe"); + $telephonFixe = ""; //$this->requete->getParametreFormulaire("telephonFixe"); $telephonePortable = $this->requete->getParametreFormulaire("telephonePortable"); $email = $this->requete->getParametreFormulaire("email"); $fraisCarte = $this->requete->getParametreFormulaire("fraisCarte","numerique"); diff --git a/Modele/Adherent.php b/Modele/Adherent.php index c308d05..655f6dd 100755 --- a/Modele/Adherent.php +++ b/Modele/Adherent.php @@ -597,10 +597,12 @@ class Adherent extends Modele { $sql = 'call sp_enregistrer_remplacement_adherent(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'; + /* var_dump(array($idPolice, $idAdherent, $user, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale, $codePays, $telephonFixe, $telephonePortable, $email, $fraisCarte)); die(); + */ $this->executerRequete($sql, array($idPolice, $idAdherent, $user, $nom, $prenoms, $codeNaturePiece, $numeroPiece, $sexe, $dateNaissance, $codeGroupeSanguin, $codeSituationFamille, $nombreEnfants, $adresseGeo, $adressePostale,