From 7828d0d3ea678e2534f89e1772716862857f2526 Mon Sep 17 00:00:00 2001 From: bohung Date: Wed, 12 Oct 2022 08:30:06 +0800 Subject: [PATCH] Fix bug. --- app/controllers/admin/asks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/asks_controller.rb b/app/controllers/admin/asks_controller.rb index b4db427..19fb8bd 100644 --- a/app/controllers/admin/asks_controller.rb +++ b/app/controllers/admin/asks_controller.rb @@ -159,7 +159,7 @@ class Admin::AsksController < OrbitAdminController if @category_id.present? ask_setting = AskCategorySetting.where(:category_id=>@category_id).first tmp = ask_setting.custom_fields - list_setting_custom_fields = @ask_list_setting.custom_fields_list + list_setting_custom_fields = @ask_list_setting.custom_fields else tmp = [] default_setting = AskSetting.first