1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[ticket/13188] Correctly format string concatenation

PHPBB3-13188
This commit is contained in:
Nils Adermann
2014-10-20 12:20:44 -04:00
parent 566c8a1bbc
commit 941cf6979e

View File

@@ -715,7 +715,7 @@ class fulltext_sphinx
),
'ON' => 'p1.topic_id = p2.topic_id',
)),
'WHERE' => 'p2.post_id = '.((int) $post_id),
'WHERE' => 'p2.post_id = ' . ((int) $post_id),
);
$sql = $this->db->sql_build_query('SELECT', $sql_array);