mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13188] Correctly format string concatenation [ticket/13188] Add missing where clause to post_id query in sphinx index
This commit is contained in:
commit
79d6f67e81
1 changed files with 1 additions and 0 deletions
|
@ -715,6 +715,7 @@ class fulltext_sphinx
|
||||||
),
|
),
|
||||||
'ON' => 'p1.topic_id = p2.topic_id',
|
'ON' => 'p1.topic_id = p2.topic_id',
|
||||||
)),
|
)),
|
||||||
|
'WHERE' => 'p2.post_id = ' . ((int) $post_id),
|
||||||
);
|
);
|
||||||
|
|
||||||
$sql = $this->db->sql_build_query('SELECT', $sql_array);
|
$sql = $this->db->sql_build_query('SELECT', $sql_array);
|
||||||
|
|
Loading…
Add table
Reference in a new issue