FIX: Import script didn't set `public` attribute of polls (#28864)

This commit is contained in:
Gerhard Schlager 2024-10-02 20:02:13 +02:00 committed by GitHub
parent fd57a64174
commit d4379af7f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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"])