diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-10-04 14:53:56 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-10-04 14:53:56 +0000 |
commit | 0f156f08f98b8c87526bf856ef827daa19f6dd8a (patch) | |
tree | 1acec94aae600485824894b2d9e732066acac8ea /phpBB | |
parent | ac11ed9e8cf462ee199d01cd37c47323bdb7ffa8 (diff) | |
download | forums-0f156f08f98b8c87526bf856ef827daa19f6dd8a.tar forums-0f156f08f98b8c87526bf856ef827daa19f6dd8a.tar.gz forums-0f156f08f98b8c87526bf856ef827daa19f6dd8a.tar.bz2 forums-0f156f08f98b8c87526bf856ef827daa19f6dd8a.tar.xz forums-0f156f08f98b8c87526bf856ef827daa19f6dd8a.zip |
Minor - make the resulting query cleaner.
git-svn-id: file:///svn/phpbb/trunk@8134 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php index c929d58234..1f62d80852 100644 --- a/phpBB/install/convertors/functions_phpbb20.php +++ b/phpBB/install/convertors/functions_phpbb20.php @@ -220,7 +220,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) ? $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, |