From ed73fd525ee66cf65df1faa93006051c58b41e7c Mon Sep 17 00:00:00 2001 From: 8chan Date: Mon, 16 Feb 2015 16:17:18 -0800 Subject: [PATCH] Poster IDs in API --- inc/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/api.php b/inc/api.php index bc271188..9329fc4d 100644 --- a/inc/api.php +++ b/inc/api.php @@ -102,7 +102,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 ($this->config['poster_ids']) $apiPost['id'] = poster_id($post->ip, $post->thread, $board['uri']); if ($threadsPage) return $apiPost; // Handle country field