Skip to content

Commit

Permalink
Update in download attachments from the customer dahsboard :#665
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhi12-gupta committed Jul 3, 2023
1 parent 6bc7d20 commit fc8e4eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Controller/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,7 @@ public function downloadAttachment(Request $request)

$response->setStatusCode(200);
$response->sendHeaders();
$response->setContent(readfile($path));

readfile($path);
return $response;
}

Expand Down

0 comments on commit fc8e4eb

Please sign in to comment.