Fixed stock entry grocycode download (references #1500)

This commit is contained in:
Bernd Bestel 2021-06-12 20:15:48 +02:00
parent 96fff2e5f4
commit 739379fabb
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -489,8 +489,8 @@ class StockController extends BaseController
->withHeader('Content-Length', strlen($png))
->withHeader('Cache-Control', 'no-cache')
->withHeader('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT');
$response->getBody()->write($png);
}
$response->getBody()->write($png);
return $response;
}