forked from saurabh/personal-diploma
small fix
This commit is contained in:
parent
c0686edf1d
commit
749653d053
|
@ -40,7 +40,7 @@ class Diploma
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.get_plugin_datas_to_member(datas)
|
def self.get_plugin_datas_to_member(datas)
|
||||||
page = Page.where(:module => "personal_honor").first rescue nil
|
page = Page.where(:module => "personal_diploma").first rescue nil
|
||||||
|
|
||||||
if !page.nil? && !page.custom_array_field.blank?
|
if !page.nil? && !page.custom_array_field.blank?
|
||||||
fields_to_show = page.custom_array_field
|
fields_to_show = page.custom_array_field
|
||||||
|
|
Loading…
Reference in New Issue