Follow-up for a8cdd685 to fix nested array

Follow-up for a8cdd685 to fix nested array

diff --git a/db/migrate/20150729150523_migrate_auto_close_posts.rb b/db/migrate/20150729150523_migrate_auto_close_posts.rb
index 78508d7..7c6664a 100644
--- a/db/migrate/20150729150523_migrate_auto_close_posts.rb
+++ b/db/migrate/20150729150523_migrate_auto_close_posts.rb
@@ -5,7 +5,7 @@ class MigrateAutoClosePosts < ActiveRecord::Migration[4.2]
     I18n.overrides_disabled do
       strings = []
       %w(days hours lastpost_days lastpost_hours lastpost_minutes).map do |k|
-        strings << I18n.t("topic_statuses.autoclosed_enabled_#{k}").values.map { |s| s.sub("%{count}", "\\d+") }
+        strings += I18n.t("topic_statuses.autoclosed_enabled_#{k}").values.map { |s| s.sub("%{count}", "\\d+") }
       end
 
       sql = <<~SQL

GitHub sha: 89efcfcf

1 Like

Follow-up for 89efcfcf to properly fix nested arrays