mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-22 10:57:56 +01:00
[ticket/13188] Add missing where clause to post_id query in sphinx index
PHPBB3-13188
This commit is contained in:
parent
39e51e5599
commit
566c8a1bbc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user