diff --git a/include/class.ticket.php b/include/class.ticket.php index 93543690414914fe49a3d00e1e4664dd9e8f7a2c..071dda44f77a7ab4624c7408fa59ac85b737fb40 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1404,7 +1404,7 @@ class Ticket{ $attachments = array(); //Web based upload.. note that we're not "validating" attachments on response. if($_FILES['attachments'] && ($files=Format::files($_FILES['attachments']))) - $attachments=array_merge($attachments, $this->uploadAttachments($files, $respId,'R')); + $attachments=$this->uploadAttachments($files, $respId, 'R'); //Canned attachments... if($vars['cannedattachments'] && is_array($vars['cannedattachments'])) {