Update card.php

This commit is contained in:
Laurent Destailleur 2018-11-15 16:56:12 +01:00 committed by GitHub
parent 01947288fb
commit 8a97ba4ba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2594,7 +2594,7 @@ else
print '<td>';
if($caneditfield)
{
echo $form->select_date(GETPOST('birth')?GETPOST('birth'):$object->birth,'birth',0,0,1,'updateuser',1,0,1);
echo $form->selectDate(GETPOST('birth')?GETPOST('birth'):$object->birth, 'birth', 0, 0, 1, 'updateuser', 1, 0);
}else{
print dol_print_date($object->birth, 'day');
}