Merge pull request #2618 from martykube/phpbb_import_category_name_too_long

phpbb category names can be longer than 50 chars and are rejected during...
This commit is contained in:
Robin Ward 2014-08-05 11:55:24 -04:00
commit 72e099afaa
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class ImportScripts::PhpBB3 < ImportScripts::Base
def import_categories
results = mysql_query("
SELECT forum_id id, parent_id, forum_name name, forum_desc description
SELECT forum_id id, parent_id, left(forum_name, 50) name, forum_desc description
FROM phpbb_forums
ORDER BY parent_id ASC, forum_id ASC
")