From 6263e839d8672a08c981cab460c5b01f4e06c432 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 14 Jul 2019 12:20:42 +1000 Subject: [PATCH] fixes for file upload --- app/Ninja/Tickets/Inbound/Attachment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/Tickets/Inbound/Attachment.php b/app/Ninja/Tickets/Inbound/Attachment.php index 25697890ac78..a533eb3ca1ad 100644 --- a/app/Ninja/Tickets/Inbound/Attachment.php +++ b/app/Ninja/Tickets/Inbound/Attachment.php @@ -52,7 +52,7 @@ Class Attachment extends InboundTicketFactory{ $directory = sys_get_temp_dir(); file_put_contents($directory . '/' . $this->Name, $this->_read()); - return File::get($directory.$this->Name); + return File::get($directory.'/'.$this->Name); }