There's no disec input...

This commit is contained in:
Marcos García 2012-07-20 19:46:37 +02:00
parent 50129ec945
commit 5f0491bc6f

View File

@ -1118,7 +1118,7 @@ else if ($id > 0 || ! empty($ref))
print '<td align="center" nowrap="nowrap">';
$timearray=dol_getdate(mktime());
if (!GETPOST('diday','int')) $timewithnohour=dol_mktime(0,0,0,$timearray['mon'],$timearray['mday'],$timearray['year']);
else $timewithnohour=dol_mktime(GETPOST('dihour','int'),GETPOST('dimin','int'),GETPOST('disec','int'),GETPOST('dimonth','int'),GETPOST('diday','int'),GETPOST('diyear','int'));
else $timewithnohour=dol_mktime(GETPOST('dihour','int'),GETPOST('dimin','int'), 0,GETPOST('dimonth','int'),GETPOST('diday','int'),GETPOST('diyear','int'));
$form->select_date($timewithnohour,'di',1,1,0,"addinter");
print '</td>';