From 1e59545e9b4e3906f4a5c675653dd731e591e9b8 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Tue, 29 Nov 2016 10:23:36 +0530 Subject: [PATCH] bug-fix-patch-6 # solved agent reply attahcment issue --- app/Http/Controllers/Agent/helpdesk/TicketController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Agent/helpdesk/TicketController.php b/app/Http/Controllers/Agent/helpdesk/TicketController.php index a442760fc..9b661645c 100644 --- a/app/Http/Controllers/Agent/helpdesk/TicketController.php +++ b/app/Http/Controllers/Agent/helpdesk/TicketController.php @@ -2815,7 +2815,7 @@ class TicketController extends Controller $attachments = $attachment->where('thread_id', $thread_id)->get(); if ($attachments->count() > 0) { foreach ($attachments as $key => $attach) { - $array[$key]['file_path'] = base64_encode($attach->file); + $array[$key]['file_path'] = $attach->file; $array[$key]['file_name'] = $attach->name; $array[$key]['mime'] = $attach->type; $array[$key]['mode'] = 'data';