Fix: Can't create contract
This commit is contained in:
parent
37bff53fb5
commit
fd26400339
@ -148,7 +148,7 @@ if ($_POST["remonth"] && $_POST["reday"] && $_POST["reyear"])
|
|||||||
$datecontrat = dol_mktime($_POST["rehour"], $_POST["remin"], 0, $_POST["remonth"], $_POST["reday"], $_POST["reyear"]);
|
$datecontrat = dol_mktime($_POST["rehour"], $_POST["remin"], 0, $_POST["remonth"], $_POST["reday"], $_POST["reyear"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if ($action == 'add' && $user->rights->contrat->creer)
|
if ($action == 'add' && $user->rights->contrat->creer)
|
||||||
{
|
{
|
||||||
$object->socid = $socid;
|
$object->socid = $socid;
|
||||||
$object->date_contrat = $datecontrat;
|
$object->date_contrat = $datecontrat;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user