mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 17:30:27 -05:00
Merge pull request #4562 from Obi-Wana/fix-helpdesk-image-attachement-upload
This commit is contained in:
@@ -51,7 +51,7 @@ class TicketAttachmentController extends Controller
|
||||
}
|
||||
|
||||
$fileName = uniqid('', true).'.'.$file->getClientOriginalExtension();
|
||||
$file->storeAs('attachments', $fileName, 'attachments');
|
||||
$file->storeAs('', $fileName, 'attachment-files');
|
||||
|
||||
$attachment = new TicketAttachment();
|
||||
$attachment->user_id = $user->id;
|
||||
|
||||
Reference in New Issue
Block a user