';
}
elseif ($fieldlist[$field] == 'pays_id') {
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index cab56780ed8..2b5cd5e6dde 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -443,9 +443,10 @@ class Form
* @param string $selected Id or Code or Label of preselected country
* @param string $htmlname Name of html select object
* @param string $htmloption Options html on select object
+ * @param string $maxlength Max length for labels (0=no limit)
* @return string HTML string with select
*/
- function select_country($selected='',$htmlname='pays_id',$htmloption='')
+ function select_country($selected='',$htmlname='pays_id',$htmloption='',$maxlength=0)
{
global $conf,$langs;
@@ -495,7 +496,7 @@ class Form
{
$out.= '';
}
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index d3f05528298..fb02f0a2e0e 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -1298,7 +1298,9 @@ Buy=Buy
Sell=Sell
InvoiceDateUsed=Invoice date used
YourCompanyDoesNotUseVAT=Your company has been defined to not use VAT (Home - Setup - Company/Foundation), so there is no VAT options to setup.
-AccountancyCode=Accountancy Code
+AccountancyCode=Accountancy Code
+AccountancyCodeSell=Sale account. code
+AccountancyCodeBuy=Purchase account. code
##### Agenda #####
AgendaSetup=Events and agenda module setup
PasswordTogetVCalExport=Key to authorize export link