FIX: vBulletin wasn't importing posters...

This commit is contained in:
Régis Hanol 2014-08-20 23:04:43 +02:00
parent 7dd6b43e8a
commit 841d547a48

View file

@ -446,7 +446,7 @@ class ImportScripts::VBulletin < ImportScripts::Base
p = { p = {
id: post[:postid], id: post[:postid],
user_id: user_id_from_imported_user_id(post[:postuserid]) || Discourse::SYSTEM_USER_ID, user_id: user_id_from_imported_user_id(post[:userid]) || Discourse::SYSTEM_USER_ID,
topic_id: t[:topic_id], topic_id: t[:topic_id],
raw: post[:raw], raw: post[:raw],
created_at: Time.at(post[:dateline].to_i), created_at: Time.at(post[:dateline].to_i),