aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 19:46:12 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-16 19:05:09 +0200
commitca3cdadd083dfa2e4e0596d17424c7d9b541785c (patch)
tree2f4b69bb96bc92e5934277d6621a4d934fc19bcc /phpBB/phpbb/search
parent663c375f5c1547e80f79aae0775eed0039956699 (diff)
downloadforums-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.tar
forums-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.tar.gz
forums-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.tar.bz2
forums-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.tar.xz
forums-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.zip
[ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
PHPBB3-12722
Diffstat (limited to 'phpBB/phpbb/search')
-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);