aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_sphinx.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-16 22:24:59 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-16 22:24:59 +0200
commit7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00 (patch)
tree1649bd0943b407c83b4d5430af11f4eee5b452d1 /phpBB/phpbb/search/fulltext_sphinx.php
parent58fd91dde105a0755e906452842f635770f8dd23 (diff)
parent4d6afb26380d192efc556640499b6f5c43fbdf3c (diff)
downloadforums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar.gz
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar.bz2
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar.xz
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
Diffstat (limited to 'phpBB/phpbb/search/fulltext_sphinx.php')
-rw-r--r--phpBB/phpbb/search/fulltext_sphinx.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php
index c6c636562e..9008af338b 100644
--- a/phpBB/phpbb/search/fulltext_sphinx.php
+++ b/phpBB/phpbb/search/fulltext_sphinx.php
@@ -693,7 +693,7 @@ class fulltext_sphinx
{
if ($mode == 'edit')
{
- $this->sphinx->UpdateAttributes($this->indexes, array('forum_id', 'poster_id'), array((int)$post_id => array((int)$forum_id, (int)$poster_id)));
+ $this->sphinx->UpdateAttributes($this->indexes, array('forum_id', 'poster_id'), array((int) $post_id => array((int) $forum_id, (int) $poster_id)));
}
else if ($mode != 'post' && $post_id)
{
@@ -718,7 +718,7 @@ class fulltext_sphinx
$post_time = time();
while ($row = $this->db->sql_fetchrow($result))
{
- $post_updates[(int)$row['post_id']] = array($post_time);
+ $post_updates[(int) $row['post_id']] = array($post_time);
}
$this->db->sql_freeresult($result);