Skip to content
Snippets Groups Projects
Commit af0e9f80 authored by Peter Rotich's avatar Peter Rotich
Browse files

Remove unnecessary 'array_merge'

parent e0110e94
Branches
Tags
No related merge requests found
......@@ -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'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment