Bugfix
This commit is contained in:
parent
0e85aac042
commit
40f3bfafe8
@ -90,7 +90,7 @@ if ($_POST["action"] == 'addpo' && $user->rights->telephonie->ligne->creer)
|
|||||||
$contrat = new TelephonieContrat($db);
|
$contrat = new TelephonieContrat($db);
|
||||||
$contrat->fetch($_GET["id"]);
|
$contrat->fetch($_GET["id"]);
|
||||||
|
|
||||||
$contrat->addpo($_POST["montant"]) ;
|
$contrat->addpo($_POST["montant"], $user);
|
||||||
Header("Location: fiche.php?id=".$contrat->id);
|
Header("Location: fiche.php?id=".$contrat->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user