diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 19:46:12 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-16 19:05:09 +0200 |
| commit | ca3cdadd083dfa2e4e0596d17424c7d9b541785c (patch) | |
| tree | 2f4b69bb96bc92e5934277d6621a4d934fc19bcc /phpBB/phpbb/feed/post_base.php | |
| parent | 663c375f5c1547e80f79aae0775eed0039956699 (diff) | |
| download | forums-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/feed/post_base.php')
| -rw-r--r-- | phpBB/phpbb/feed/post_base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/feed/post_base.php b/phpBB/phpbb/feed/post_base.php index fe11fd2a79..011775b6af 100644 --- a/phpBB/phpbb/feed/post_base.php +++ b/phpBB/phpbb/feed/post_base.php @@ -48,8 +48,8 @@ abstract class post_base extends \phpbb\feed\attachments_base { $item_row['statistics'] = $this->user->lang['POSTED'] . ' ' . $this->user->lang['POST_BY_AUTHOR'] . ' ' . $this->user_viewprofile($row) . ' ' . $this->separator_stats . ' ' . $this->user->format_date($row[$this->get('published')]) - . (($this->is_moderator_approve_forum($row['forum_id']) && (int)$row['post_visibility'] === ITEM_UNAPPROVED) ? ' ' . $this->separator_stats . ' ' . $this->user->lang['POST_UNAPPROVED'] : '') - . (($this->is_moderator_approve_forum($row['forum_id']) && (int)$row['post_visibility'] === ITEM_DELETED) ? ' ' . $this->separator_stats . ' ' . $this->user->lang['POST_DELETED'] : ''); + . (($this->is_moderator_approve_forum($row['forum_id']) && (int) $row['post_visibility'] === ITEM_UNAPPROVED) ? ' ' . $this->separator_stats . ' ' . $this->user->lang['POST_UNAPPROVED'] : '') + . (($this->is_moderator_approve_forum($row['forum_id']) && (int) $row['post_visibility'] === ITEM_DELETED) ? ' ' . $this->separator_stats . ' ' . $this->user->lang['POST_DELETED'] : ''); } } } |
