Fix bug.
This commit is contained in:
parent
9814b7c79c
commit
7828d0d3ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue