diff options
author | Nils Adermann <naderman@naderman.de> | 2014-10-20 12:20:44 -0400 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2014-10-20 12:20:44 -0400 |
commit | 941cf6979e3f5367fb18eda3fd525eaaa050bec4 (patch) | |
tree | fa021d629006e79b1498e5ffef98157f31715ba6 /phpBB/phpbb/search | |
parent | 566c8a1bbc44e410c73b06008346766c01fbecef (diff) | |
download | forums-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.php | 2 |
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); |