diff --git a/htdocs/ticketsup/class/actions_ticketsup.class.php b/htdocs/ticketsup/class/actions_ticketsup.class.php index 15aa20235da..08257d16acb 100644 --- a/htdocs/ticketsup/class/actions_ticketsup.class.php +++ b/htdocs/ticketsup/class/actions_ticketsup.class.php @@ -170,7 +170,7 @@ class ActionsTicketsup $id = $this->dao->create($user); if ($id <= 0) { $error++; - $this->errors = $this->dao->error; + $this->error = $this->dao->error; $this->errors = $this->dao->errors; $action = 'create_ticket'; }