1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset

PHPBB3-12722
This commit is contained in:
Tristan Darricau
2014-06-15 19:46:12 +02:00
parent 663c375f5c
commit ca3cdadd08
11 changed files with 29 additions and 26 deletions

View File

@@ -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);