mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 21:26:16 +02:00
Fixed stock entry grocycode download (references #1500)
This commit is contained in:
parent
96fff2e5f4
commit
739379fabb
|
|
@ -489,8 +489,8 @@ class StockController extends BaseController
|
||||||
->withHeader('Content-Length', strlen($png))
|
->withHeader('Content-Length', strlen($png))
|
||||||
->withHeader('Cache-Control', 'no-cache')
|
->withHeader('Cache-Control', 'no-cache')
|
||||||
->withHeader('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT');
|
->withHeader('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT');
|
||||||
$response->getBody()->write($png);
|
|
||||||
}
|
}
|
||||||
|
$response->getBody()->write($png);
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user