Skip to content
Snippets Groups Projects
Commit a8d1e0ec authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge remote branch 'upstream/develop-next' into develop-next

parents ae69ef39 cf8af132
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