mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:04:31 -04:00
fixes for file upload
This commit is contained in:
parent
fe7035c6a6
commit
dc0f47cd9e
@ -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…
x
Reference in New Issue
Block a user