mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Minor - make the resulting query cleaner.
git-svn-id: file:///svn/phpbb/trunk@8134 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ac11ed9e8c
commit
0f156f08f9
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue