diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 90fd1c534ba..4580df68fe0 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -567,7 +567,7 @@ class Form
* @param string $maxlength Max length for labels (0=no limit)
* @return string HTML string with select
*/
- function select_incoterms($selected='',$htmlname='incoterm_id',$htmloption='',$maxlength=0)
+ function select_incoterms($selected='', $location_incoterms='', $page='',$htmlname='incoterm_id',$htmloption='', $forcecombo=0, $events=array())
{
global $conf,$langs;
@@ -580,12 +580,25 @@ class Form
$sql.= " FROM ".MAIN_DB_PREFIX."c_incoterms";
$sql.= " WHERE active = 1";
$sql.= " ORDER BY code ASC";
-
+
dol_syslog(get_class($this)."::select_incoterm", LOG_DEBUG);
$resql=$this->db->query($sql);
if ($resql)
{
- $out.= '