Skip to content
Snippets Groups Projects
Unverified Commit 42e163b4 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix missing type cast for the attachment ID

parent 8ce284ef
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