Checkstyle
This commit is contained in:
parent
2ad1cf0665
commit
93ced076ac
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user