diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index c7bbc5ae1fc78..a60864c0db8b5 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -345,8 +345,6 @@ public function create(User $user, $notrigger = false) $this->db->rollback(); return -1; } - - return $idcreated; } /**