summaryrefslogtreecommitdiff
path: root/addons/crm/scripts/php/crmlead.php
diff options
context:
space:
mode:
Diffstat (limited to 'addons/crm/scripts/php/crmlead.php')
-rw-r--r--addons/crm/scripts/php/crmlead.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/scripts/php/crmlead.php b/addons/crm/scripts/php/crmlead.php
index aa23e5c78ba..91cfe7649ed 100644
--- a/addons/crm/scripts/php/crmlead.php
+++ b/addons/crm/scripts/php/crmlead.php
@@ -117,7 +117,7 @@ class Contact
"email_from" => new xmlrpcval($post['email'], "string"),
"phone" => new xmlrpcval($post['phone'], "string"),
"partner_name" => new xmlrpcval($post['name'], "string"),
- "function_name" => new xmlrpcval($post["jobtitle"], "string"),
+ "function" => new xmlrpcval($post["jobtitle"], "string"),
"zip" => new xmlrpcval($post['zip'], "string"),
"stage_id" => new xmlrpcval(6, "int"),
"city" => new xmlrpcval($post['city'], "string"),