Fix error assignement
This commit is contained in:
parent
2bababb73e
commit
029596bc40
@ -2453,7 +2453,7 @@ class Ticket extends CommonObject
|
|||||||
$id = $object->createTicketMessage($user, 0, $listofpaths, $listofmimes, $listofnames);
|
$id = $object->createTicketMessage($user, 0, $listofpaths, $listofmimes, $listofnames);
|
||||||
if ($id <= 0) {
|
if ($id <= 0) {
|
||||||
$error++;
|
$error++;
|
||||||
$this->errors = $object->error;
|
$this->error = $object->error;
|
||||||
$this->errors = $object->errors;
|
$this->errors = $object->errors;
|
||||||
$action = 'add_message';
|
$action = 'add_message';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user