X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=3e4de2abafe329bc54e17744cc3b14be8b9d31f7;hb=fd5914011cb5c67b827886a5db0e7760a307ad1d;hp=77cfc4795a755b301e622e802e1766340903da97;hpb=6ffd3a3f8ce4f1b08d51e710fbb228ad23957f7a;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 77cfc4795a..3e4de2abaf 100644 --- a/mod/item.php +++ b/mod/item.php @@ -106,7 +106,7 @@ function item_edit(int $uid, array $request, bool $preview, string $return_path) $post['edit'] = $post; $post['file'] = Post\Category::getTextByURIId($post['uri-id'], $post['uid']); - Post\Media::deleteByURIId($post['uri-id'], [Post\Media::AUDIO, Post\Media::VIDEO, Post\Media::IMAGE]); + Post\Media::deleteByURIId($post['uri-id'], [Post\Media::AUDIO, Post\Media::VIDEO, Post\Media::IMAGE, Post\Media::HTML]); $post = item_process($post, $request, $preview, $return_path); $fields = [