Skip to content
Snippets Groups Projects
Commit 01e05d1a authored by aydreeihn's avatar aydreeihn
Browse files

fix inline file uploads

parent 73f689d9
No related branches found
No related tags found
No related merge requests found
......@@ -523,6 +523,10 @@ function refer($tid, $target=null) {
__($field->getLabel())
)
);
$impl = $field->getImpl();
if ($impl instanceof FileUploadField)
$field->save();
Http::response(201, $field->getClean());
}
$form->addErrors($errors);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment