From ca3cdadd083dfa2e4e0596d17424c7d9b541785c Mon Sep 17 00:00:00 2001
From: Tristan Darricau <github@nicofuma.fr>
Date: Sun, 15 Jun 2014 19:46:12 +0200
Subject: [ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy
 ruleset

PHPBB3-12722
---
 phpBB/phpbb/search/fulltext_sphinx.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'phpBB/phpbb/search')

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);
 
-- 
cgit v1.2.1