diff --git a/htdocs/facture.class.php3 b/htdocs/facture.class.php3 index 28efec8bc78..f6451671917 100644 --- a/htdocs/facture.class.php3 +++ b/htdocs/facture.class.php3 @@ -289,7 +289,7 @@ class Facture $mesg = "La facture ".$this->ref." a été validée.\n"; $notify = New Notify($this->db); - $notify->send($action_notify, $this->socidp, $mesg, $filepdf); + $notify->send($action_notify, $this->socidp, $mesg, "facture", $rowid, $filepdf); return $result; } diff --git a/htdocs/fichinter/fichinter.class.php3 b/htdocs/fichinter/fichinter.class.php3 index 029d69243ee..c553425d816 100644 --- a/htdocs/fichinter/fichinter.class.php3 +++ b/htdocs/fichinter/fichinter.class.php3 @@ -215,7 +215,7 @@ class Fichinter $mesg = "La fiche d'intervention ".$this->ref." a été validée.\n"; $notify = New Notify($this->db); - $notify->send($action_notify, $this->societe_id, $mesg, $filepdf); + $notify->send($action_notify, $this->societe_id, $mesg, "ficheinter", $this->id, $filepdf); return 1; }