]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Merge pull request #10479 from MrPetovan/task/9378-merge-share-template
[friendica.git] / mod / editpost.php
index 31f121bd546150f62563c77bb0657d765ccc8ec6..6f80bac0c1ad21b148b5d6bc0b7d351bf3e46e82 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -46,7 +46,7 @@ function editpost_content(App $a)
        }
 
        $fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
-               'type', 'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'];
+               'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'];
 
        $item = Post::selectFirstForUser(local_user(), $fields, ['id' => $post_id, 'uid' => local_user()]);