Skip to content
Snippets Groups Projects
Commit a156bba8 authored by Jared Hancock's avatar Jared Hancock
Browse files

canned: Fix crash creating ticket with canned attachments

parent 5c836159
No related branches found
No related tags found
No related merge requests found
......@@ -2222,7 +2222,7 @@ implements RestrictedAccess, Threadable {
}
$files = array();
foreach ($canned->attachments->getAll() as $file)
$files[] = $file['id'];
$files[] = $file->file_id;
if ($cfg->isRichTextEnabled())
$response = new HtmlThreadEntryBody(
......
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