small fix

This commit is contained in:
Harry Bomrah 2017-03-06 20:57:33 +08:00
parent c0686edf1d
commit 749653d053
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Diploma
end
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?
fields_to_show = page.custom_array_field