aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-10-20 15:30:08 -0400
committerNils Adermann <naderman@naderman.de>2014-10-20 15:30:08 -0400
commit973dfbf868f2c75c02ae7cdff0056ecf9c665d70 (patch)
tree095e78fc36579f0722adf48024c06554d4ea750a /phpBB/phpbb
parent99f63f39eb8e9987669cb0c7146afc431aee1400 (diff)
parent941cf6979e3f5367fb18eda3fd525eaaa050bec4 (diff)
downloadforums-973dfbf868f2c75c02ae7cdff0056ecf9c665d70.tar
forums-973dfbf868f2c75c02ae7cdff0056ecf9c665d70.tar.gz
forums-973dfbf868f2c75c02ae7cdff0056ecf9c665d70.tar.bz2
forums-973dfbf868f2c75c02ae7cdff0056ecf9c665d70.tar.xz
forums-973dfbf868f2c75c02ae7cdff0056ecf9c665d70.zip
Merge pull request #3048 from naderman/ticket/13188
[ticket/13188] Add missing where clause to post_id query in sphinx index
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/search/fulltext_sphinx.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php
index 427464eb3c..eb53ca6d40 100644
--- a/phpBB/phpbb/search/fulltext_sphinx.php
+++ b/phpBB/phpbb/search/fulltext_sphinx.php
@@ -715,6 +715,7 @@ class fulltext_sphinx
),
'ON' => 'p1.topic_id = p2.topic_id',
)),
+ 'WHERE' => 'p2.post_id = ' . ((int) $post_id),
);
$sql = $this->db->sql_build_query('SELECT', $sql_array);