1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +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

@@ -223,7 +223,7 @@ function phpbb_insert_forums()
'forum_desc' => htmlspecialchars(phpbb_set_default_encoding($row['forum_desc']), ENT_COMPAT, 'UTF-8'),
'forum_type' => FORUM_POST,
'forum_status' => is_item_locked($row['forum_status']),
'enable_prune' => ($prune_enabled) ? (int)$row['prune_enable'] : 0,
'enable_prune' => ($prune_enabled) ? (int) $row['prune_enable'] : 0,
'prune_next' => (int) null_to_zero($row['prune_next']),
'prune_days' => (int) null_to_zero($row['prune_days']),
'prune_viewed' => 0,