mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Added todo
This commit is contained in:
parent
d9352f5a63
commit
e365103ea3
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue