diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 929b58177b1..0ddbb5fdf57 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -1080,7 +1080,7 @@ class FormOther /** * Return HTML combo list of month * - * @param string $selected Preselected value + * @param int|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 (1) or short label (0) @@ -1096,9 +1096,9 @@ class FormOther require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; if ($longlabel) { - $montharray = monthArray($langs, 0); // Get array + $montharray = monthArray($langs, 0); // Get array of month with long labels } else { - $montharray = monthArray($langs, 1); + $montharray = monthArray($langs, 1); // Get array of month with short labels } $select_month = '