Commit fe0beed3 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '30-pdf-download-not-working' into 'master'

Resolve "PDF Download not working"

Closes #30

See merge request !29
parents aacd4848 2093068e
......@@ -57,7 +57,7 @@ class DownloadController extends Controller
# From the headers we need to remove the first Element since it's the status code:
$status = $headers[0];
$status = intval(preg_split("/\s+/si", $status)[1]);
Arr::forget($headers, 0);
\Arr::forget($headers, 0);
# Add the Filename if it's not set:
if (!isset($headers["Content-Disposition"])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment