FIX: Import script didn't set `public` attribute of polls (#28864)
This commit is contained in:
parent
fd57a64174
commit
d4379af7f2
|
@ -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"])
|
||||
|
|
Loading…
Reference in New Issue