diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 45d5866..55668fa 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1159,7 +1159,7 @@ class GossamerForumsImporter < ImportScripts::Base #this parts needs to be synchronously to avoid race conditions # Fetch the post data for the given post_id (this is the first post in the topic) - row = execute_query("SELECT post_id, user_id_fk, forum_id_fk, post_root_id, post_subject, post_time, post_message, post_father_id, post_replies FROM gforum_Post WHERE post_id = #{post_id}", mysql.client).first + row = execute_query("SELECT post_id, user_id_fk, forum_id_fk, post_root_id, post_subject, post_time, post_message, post_father_id, post_replies FROM gforum_Post WHERE post_id = #{post_id}", mysql_client).first # Early return if the post data is not found return unless row