mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 02:14:31 +02:00
Uploading now works everywhere. Show an flash message if the download fails.
This commit is contained in:
parent
27a001b1d2
commit
9385d28e40
3 changed files with 47 additions and 5 deletions
|
@ -217,7 +217,7 @@ class AttachmentSubmitHandler
|
|||
]);
|
||||
|
||||
if (200 !== $response->getStatusCode()) {
|
||||
throw new AttachmentDownloadException('Statuscode:' . $response->getStatusCode());
|
||||
throw new AttachmentDownloadException('Status code: ' . $response->getStatusCode());
|
||||
}
|
||||
|
||||
//Open a temporary file in the attachment folder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue