Merge pull request #695 from FHenry/3.2

Fix [ bug #737 ]
This commit is contained in:
Laurent Destailleur 2013-02-26 11:03:05 -08:00
commit 970b332bd8

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); $object->fetch($id);
$datepaye = dol_mktime(12, 0, 0, $_POST['datepmonth'], $_POST['datepday'], $_POST['datepyear']); $datepaye = dol_mktime(12, 0, 0, $_POST['datepmonth'], $_POST['datepday'], $_POST['datepyear']);