diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-09-12 21:03:54 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-09-12 21:03:54 +0100 |
| commit | 166ba2a0a205c88bdb8fcc6fc538a0bdc01b60d9 (patch) | |
| tree | 5a7293c0d78804f72e253e385d015162e029777b /inc/api.php | |
| parent | 05c569e656070f086de49d24749d4b18916975da (diff) | |
| parent | 844b26216614d953ee8521838f1030ad59d735ec (diff) | |
Merge remote-tracking branch 'vichan/master'
Diffstat (limited to 'inc/api.php')
| -rw-r--r-- | inc/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/api.php b/inc/api.php index b77fa3f8..57e4d367 100644 --- a/inc/api.php +++ b/inc/api.php @@ -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 |
