fix error
This commit is contained in:
parent
2ee2a616e4
commit
4ac9278f56
|
@ -475,7 +475,7 @@ class Admin::AsksController < OrbitAdminController
|
|||
def order_fields
|
||||
prepare_category_select
|
||||
ask_setting = AskCategorySetting.where(:category_id=>@category_id).first
|
||||
@disp_fields_infos = AskSetting.get_disp_fields_infos(false, ask_setting, true)
|
||||
@disp_fields_infos = AskSetting.get_disp_fields_infos(false, ask_setting, (ask_setting ? true : false))
|
||||
end
|
||||
def prepare_category_select
|
||||
@cats_relations = get_categories_info_for_ask
|
||||
|
|
Loading…
Reference in New Issue