fixes for file upload

This commit is contained in:
David Bomba 2019-07-14 12:17:16 +10:00
parent fe7035c6a6
commit dc0f47cd9e

View File

@ -123,7 +123,7 @@ class InboundTicketService
$doc = [];
$doc['file'] = $attachment->download();
$doc['filePath'] = sys_get_temp_dir().$attachment->Name;
$doc['filePath'] = sys_get_temp_dir().'/'.$attachment->Name;
$doc['fileName'] = $attachment->Name;
$doc['ticket_id'] = $ticket->id;
$doc['user_id'] = $ticket->user_id;