diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 32378b9..942e639 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1437,9 +1437,12 @@ class GossamerForumsImporter < ImportScripts::Base ## begin # Fetch the discourse user ID for the reply reply_user_id = fetch_user_id_mapping(reply_row['user_id_fk']) - if reply_user_id == 0 + + if reply_user_id.i == 0 + puts "reply_user_id is ZERO for reply post_id #{reply_row['post_id']}" former_user = User.find_by(username: 'Former_User') reply_user_id = former_user.id + puts "reply_user_id is NOW #{reply_user_id} for reply post_id #{reply_row['post_id']}" end puts "TIJ II post_id #{post_id}"