mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
PHPBB3-12722
This commit is contained in:
@@ -52,11 +52,11 @@ abstract class topic_base extends \phpbb\feed\attachments_base
|
||||
|
||||
if ($this->is_moderator_approve_forum($row['forum_id']))
|
||||
{
|
||||
if ( (int)$row['topic_visibility'] === ITEM_DELETED)
|
||||
if ((int) $row['topic_visibility'] === ITEM_DELETED)
|
||||
{
|
||||
$item_row['statistics'] .= ' ' . $this->separator_stats . ' ' . $this->user->lang['TOPIC_DELETED'];
|
||||
}
|
||||
else if ((int)$row['topic_visibility'] === ITEM_UNAPPROVED)
|
||||
else if ((int) $row['topic_visibility'] === ITEM_UNAPPROVED)
|
||||
{
|
||||
$item_row['statistics'] .= ' ' . $this->separator_stats . ' ' . $this->user->lang['TOPIC_UNAPPROVED'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user