From d4379af7f2be8f7b2a8d5e391780f168e9f5d183 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Wed, 2 Oct 2024 20:02:13 +0200 Subject: [PATCH] FIX: Import script didn't set `public` attribute of polls (#28864) --- script/bulk_import/generic_bulk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bulk_import/generic_bulk.rb b/script/bulk_import/generic_bulk.rb index 0624ecbc0bd..5a047460d7a 100644 --- a/script/bulk_import/generic_bulk.rb +++ b/script/bulk_import/generic_bulk.rb @@ -955,7 +955,7 @@ class BulkImport::Generic < BulkImport::Base min = row["min"] max = row["max"] step = row["step"] - visibility = ::Poll.visibilities.key(row["visibility"]) + visibility = row["visibility"] chart_type = ::Poll.chart_types.key(row["chart_type"]) groups = row["groups"] auto_close = to_datetime(row["close_at"])