From 8ec10f8efae0d49ee269f7653f1317ab9ea554dd Mon Sep 17 00:00:00 2001 From: Peter Fontaine Date: Mon, 24 Feb 2014 21:20:06 +0100 Subject: [PATCH] Add state_id in contact for individual third party --- htdocs/societe/class/societe.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 4f00cef5f9f..f4ba0197e47 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -313,6 +313,7 @@ class Societe extends CommonObject $contact->zip = $this->zip; $contact->town = $this->town; $contact->phone_pro = $this->phone; + $contact->state_id = $this->state_id; $result = $contact->create($user); if ($result < 0) { $this->error = $contact->error;