fixes for file upload
This commit is contained in:
parent
fe7035c6a6
commit
dc0f47cd9e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue