bug-fix-patch-17

*Solved bug for attachement rendering in tickets.
This commit is contained in:
Manish Verma
2016-11-04 15:34:02 +05:30
parent 8eb78ef348
commit aab529edbd
2 changed files with 7 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ class MailController extends Controller
public function manageAttachment($data, $filename, $type, $size, $disposition, $thread_id)
{
$upload = new Ticket_attachments();
$upload->file = base64_encode($data);
$upload->file = $data;
$upload->thread_id = $thread_id;
$upload->name = $filename;
$upload->type = $type;