diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index 6fd6b3f71d4..9b870570a79 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -81,6 +81,13 @@ class Contact $sql .= ", fax='$this->fax'"; $sql .= ", email='$this->email'"; $sql .= ", note='$this->note'"; + + $contact->address = $HTTP_POST_VARS["adresse"]; + $contact->cp = $HTTP_POST_VARS["cp"]; + $contact->ville = $HTTP_POST_VARS["ville"]; + + + $sql .= ", phone = '$this->phone_pro'"; $sql .= ", phone_perso = '$this->phone_perso'"; $sql .= ", phone_mobile = '$this->phone_mobile'";