Minor - make the resulting query cleaner.

git-svn-id: file:///svn/phpbb/trunk@8134 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-10-04 14:53:56 +00:00
parent ac11ed9e8c
commit 0f156f08f9

View file

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