|
|
@ -101,7 +101,7 @@ class Api { |
|
|
|
$fields = $threadsPage ? $this->threadsPageFields : $this->postFields; |
|
|
|
$this->translateFields($fields, $post, $apiPost); |
|
|
|
|
|
|
|
if (isset($config['poster_ids'])) $apiPost['id'] = poster_id($post->ip, $post->thread, $board['uri']); |
|
|
|
if (isset($config['poster_ids']) && $config['poster_ids']) $apiPost['id'] = poster_id($post->ip, $post->thread, $board['uri']); |
|
|
|
if ($threadsPage) return $apiPost; |
|
|
|
|
|
|
|
// Handle country field |
|
|
|