diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index 7dac2c2e527..e1cbfd52047 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -776,9 +776,9 @@ class FormOther
* Return HTML combo list of month
*
* @param string $selected Preselected value
- * @param string $htmlname Name of HTML select object
- * @param int $useempty Show empty in list
- * @param int $longlabel Show long label
+ * @param string $htmlname Name of HTML select object
+ * @param int $useempty Show empty in list
+ * @param int $longlabel Show long label
* @return string
*/
function select_month($selected='',$htmlname='monthid',$useempty=0,$longlabel=0)
@@ -787,8 +787,8 @@ class FormOther
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
- if ($longlabel) $montharray = monthArray($langs, 0); // Get array
- else $montharray = monthArray($langs, 1);
+ if ($longlabel) $montharray = monthArray($langs, 0); // Get array
+ else $montharray = monthArray($langs, 1);
$select_month = '