From 96c2b2725076063fbbd3a5105bcca2c80d3e33e9 Mon Sep 17 00:00:00 2001 From: saint Date: Sun, 18 Aug 2024 18:26:16 +1000 Subject: [PATCH] v0.48.1 Further attempts to address MariaDB challenges and make things as foolproof as possible. --- gossamer_forums.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 6925aa2..2db2f9e 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1402,7 +1402,7 @@ 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 == 0 former_user = User.find_by(username: 'Former_User') reply_user_id = former_user.id end