Commit 84a2d3cd authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Only attempt to reset the blogpost body field when moving temp files to

my files
parent fc2f43ad
......@@ -118,6 +118,7 @@ if (!empty($uploadartefact)) {
$body = preg_replace($regexps, $subs, $body);
if ($body != $originalbody) {
$postobj = new ArtefactTypeBlogPost($blogpost, null);
$postobj->set('description', $body);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment