aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-10-20 12:20:44 -0400
committerNils Adermann <naderman@naderman.de>2014-10-20 12:20:44 -0400
commit941cf6979e3f5367fb18eda3fd525eaaa050bec4 (patch)
treefa021d629006e79b1498e5ffef98157f31715ba6 /phpBB/phpbb/search
parent566c8a1bbc44e410c73b06008346766c01fbecef (diff)
downloadforums-941cf6979e3f5367fb18eda3fd525eaaa050bec4.tar
forums-941cf6979e3f5367fb18eda3fd525eaaa050bec4.tar.gz
forums-941cf6979e3f5367fb18eda3fd525eaaa050bec4.tar.bz2
forums-941cf6979e3f5367fb18eda3fd525eaaa050bec4.tar.xz
forums-941cf6979e3f5367fb18eda3fd525eaaa050bec4.zip
[ticket/13188] Correctly format string concatenation
PHPBB3-13188
Diffstat (limited to 'phpBB/phpbb/search')
-rw-r--r--phpBB/phpbb/search/fulltext_sphinx.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php
index fdd6657844..7e3679cef9 100644
--- a/phpBB/phpbb/search/fulltext_sphinx.php
+++ b/phpBB/phpbb/search/fulltext_sphinx.php
@@ -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);