]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Post/Edit.php
spelling: however
[friendica.git] / src / Module / Post / Edit.php
index 2ca98038189701b7aee02dbdb3394bff7e586f5a..0d6badf4da4b4614ca330db3538821033750ecc4 100644 (file)
@@ -83,7 +83,7 @@ class Edit extends BaseModule
                }
 
                $fields = [
-                       'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
+                       'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'gravity',
                        'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'
                ];
 
@@ -116,6 +116,7 @@ class Edit extends BaseModule
                }
 
                $item['body'] = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
+               $item = Post\Media::addHTMLAttachmentToItem($item);
 
                $jotplugins = '';