From af0e9f80d7665f526d48f78c2d45da1551432764 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Sat, 28 Jul 2012 23:51:06 -0400
Subject: [PATCH] Remove unnecessary 'array_merge'

---
 include/class.ticket.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.ticket.php b/include/class.ticket.php
index 935436904..071dda44f 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'])) {
-- 
GitLab