From: Michael Date: Fri, 17 Apr 2020 13:35:12 +0000 (+0000) Subject: Added todo X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e365103ea38540e1f362941b6da3a679a5c4518b;p=friendica.git Added todo --- diff --git a/include/api.php b/include/api.php index 75e66349eb..36b08f08f8 100644 --- a/include/api.php +++ b/include/api.php @@ -2041,7 +2041,7 @@ function api_statuses_repeat($type) Logger::log('API: api_statuses_repeat: '.$id); - $fields = ['body', 'title', 'attach', 'tag', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink']; + $fields = ['uri-id', 'body', 'title', 'attach', 'tag', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink']; $item = Item::selectFirst($fields, ['id' => $id, 'private' => [Item::PUBLIC, Item::UNLISTED]]); if (DBA::isResult($item) && $item['body'] != "") { @@ -2069,6 +2069,8 @@ function api_statuses_repeat($type) } $item_id = item_post($a); + + /// @todo Copy tags from the original post to the new one } else { throw new ForbiddenException(); }