Checkstyle

This commit is contained in:
Laurent Destailleur 2012-05-31 21:25:22 +02:00
parent 2ad1cf0665
commit 93ced076ac

View File

@ -153,10 +153,10 @@ if (($action == 'create' || $action == 'add') && ! $mesg )
// Standard or deposit or proforma invoice // Standard or deposit or proforma invoice
if ($_POST['type'] == 0 ) if ($_POST['type'] == 0 )
{ {
$datefacture = dol_mktime(12, 0 , 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']); $datefacture = dol_mktime(12, 0, 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
if (empty($datefacture)) if (empty($datefacture))
{ {
$datefacture = dol_mktime(12, 0 , 0, date("m"), date("d"), date("Y")); $datefacture = dol_mktime(12, 0, 0, date("m"), date("d"), date("Y"));
} }
if (! $error) if (! $error)
{ {