Replace deprecated code

This commit is contained in:
Laurent Destailleur 2019-09-06 02:45:00 +02:00
parent fbbe49d6dc
commit c0b8315e19
2 changed files with 2 additions and 2 deletions

View File

@ -566,7 +566,7 @@ if ($resql)
print $langs->trans('DateInvoice');
print '</td>';
print '<td>';
print $form->select_date('', '', '', '', '', '', 1, 1);
print $form->selectDate('', '', '', '', '', '', 1, 1);
print '</td>';
print '</tr>';
print '<tr>';

View File

@ -3080,7 +3080,7 @@ if ($action == 'editmeta' || $action == 'createcontainer')
print '<tr><td>';
print $langs->trans('DateCreation');
print '</td><td>';
print $form->select_date($pagedatecreation, 'datecreation', 1, 1, 0, '', 1, 1);
print $form->selectDate($pagedatecreation, 'datecreation', 1, 1, 0, '', 1, 1);
//print dol_print_date($pagedatecreation, 'dayhour');
print '</td></tr>';