diff --git a/app/Ninja/Tickets/Inbound/InboundTicketService.php b/app/Ninja/Tickets/Inbound/InboundTicketService.php index a3a5e3598641..582cc530c6c8 100644 --- a/app/Ninja/Tickets/Inbound/InboundTicketService.php +++ b/app/Ninja/Tickets/Inbound/InboundTicketService.php @@ -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;