forked from GithubBackups/vichan
Compare commits
No commits in common. "master" and "5.2.1" have entirely different histories.
@ -119,9 +119,8 @@ class Api {
|
|||||||
$fields = $threadsPage ? self::THREADS_PAGE_FIELDS : $this->postFields;
|
$fields = $threadsPage ? self::THREADS_PAGE_FIELDS : $this->postFields;
|
||||||
$this->translateFields($fields, $post, $apiPost);
|
$this->translateFields($fields, $post, $apiPost);
|
||||||
|
|
||||||
|
|
||||||
if (isset($config['poster_ids']) && $config['poster_ids']) {
|
if (isset($config['poster_ids']) && $config['poster_ids']) {
|
||||||
$apiPost['id'] = poster_id($post->ip, $post->thread ?? $post->id);
|
$apiPost['id'] = poster_id($post->ip, $post->thread, $board['uri']);
|
||||||
}
|
}
|
||||||
if ($threadsPage) {
|
if ($threadsPage) {
|
||||||
return $apiPost;
|
return $apiPost;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user