Skip to content
Snippets Groups Projects
Commit 8ef9b634 authored by aydreeihn's avatar aydreeihn
Browse files

oops: put back missing code

parent e287c7fa
No related branches found
No related tags found
No related merge requests found
......@@ -1088,6 +1088,8 @@ implements TemplateVariable {
if ($info instanceof AttachmentFile)
$fileId = $info->getId();
elseif (is_array($info) && isset($info['id']))
$fileId = $info['id'];
elseif ($AF = AttachmentFile::create($info))
$fileId = $AF->getId();
elseif ($add_error) {
......
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