import_scripts: add fluxbb prefix to missing query (#8163)

import_scripts: add fluxbb prefix to missing query (#8163)

Signed-off-by: Jelle van der Waa jelle@archlinux.org

diff --git a/script/import_scripts/fluxbb.rb b/script/import_scripts/fluxbb.rb
index d39cf05..3cd1c93 100644
--- a/script/import_scripts/fluxbb.rb
+++ b/script/import_scripts/fluxbb.rb
@@ -63,7 +63,7 @@ class ImportScripts::FluxBB < ImportScripts::Base
   def import_users
     puts '', "creating users"
 
-    total_count = mysql_query("SELECT count(*) count FROM users;").first['count']
+    total_count = mysql_query(`SELECT count(*) count FROM #{FLUXBB_PREFIX}users;`).first['count']
 
     batches(BATCH_SIZE) do |offset|
       results = mysql_query(

GitHub sha: 2d4c9bba