diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index bad965192e5ee40baebe4f36a5a1fd70f82453c6..19e313607ea86de9947e6bb52a5d433fb61d5c38 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3537,7 +3537,7 @@ class Form $ret.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; $ret.='<table class="nobordernopadding" cellpadding="0" cellspacing="0">'; $ret.='<tr><td>'; - $ret.=$this->select_date($selected,$htmlname,$displayhour,$displaymin,1,'form'.$htmlname); + $ret.=$this->select_date($selected,$htmlname,$displayhour,$displaymin,1,'form'.$htmlname,1,0,1); $ret.='</td>'; $ret.='<td align="left"><input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>'; $ret.='</tr></table></form>';