Fix [ bug #737 ]

This commit is contained in:
fhenry 2013-02-26 12:11:34 +01:00
parent 24b002fbe6
commit d7485f5823

View File

@ -140,7 +140,7 @@ if ($action == 'setnum' && ! empty($_POST['num_paiement']))
}
}
if ($action == 'setdate' && ! empty($_POST['datepday']))
if ($action == 'setdatep' && ! empty($_POST['datepday']))
{
$object->fetch($id);
$datepaye = dol_mktime(12, 0, 0, $_POST['datepmonth'], $_POST['datepday'], $_POST['datepyear']);