Skip to content
Snippets Groups Projects
Unverified Commit 4aabd284 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #1028 from nextcloud/fix/attachment-id-type-cast

Fix missing type cast for the attachment ID
parents 1406c666 42e163b4
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ class MailTransmission implements IMailTransmission {
return null;
}
$id = $attachment['id'];
$id = (int) $attachment['id'];
try {
list($localAttachment, $file) = $this->attachmentService->getAttachment($userId, $id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment