Merge pull request #9989 from frederic34/patch-16
Update actions_ticket.class.php
This commit is contained in:
commit
2946ca60cf
@ -845,11 +845,11 @@ class ActionsTicket
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
$object->message = GETPOST("message");
|
||||
$object->message = (string) GETPOST("message");
|
||||
$id = $object->createTicketMessage($user);
|
||||
if ($id <= 0) {
|
||||
$error++;
|
||||
$this->errors = $object->error;
|
||||
$this->error = $object->error;
|
||||
$this->errors = $object->errors;
|
||||
$action = 'add_message';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user