diff --git a/htdocs/comm/mailing/mailing.class.php b/htdocs/comm/mailing/mailing.class.php index 2085c0fdee3..a58ed75324a 100644 --- a/htdocs/comm/mailing/mailing.class.php +++ b/htdocs/comm/mailing/mailing.class.php @@ -112,7 +112,7 @@ class Mailing extends CommonObject { $this->id = $this->db->last_insert_id($this->db_table); - if ($this->update() > 0) + if ($this->update($user) > 0) { $this->db->commit(); }