diff --git a/controllers/mpog_software_plugin_myprofile_controller.rb b/controllers/mpog_software_plugin_myprofile_controller.rb index 38bc5de..3b25218 100644 --- a/controllers/mpog_software_plugin_myprofile_controller.rb +++ b/controllers/mpog_software_plugin_myprofile_controller.rb @@ -6,7 +6,9 @@ class MpogSoftwarePluginMyprofileController < MyProfileController def edit_institution @show_sisp_field = environment.admins.include?(current_user.person) - @state_list = NationalRegion.find(:all, :conditions=>["national_region_type_id = ?", 2], :order=>"name") + @estate_list = NationalRegion.find(:all, :conditions => + {:national_region_type_id => 2}, + :order=>"name") @institution = @profile.institution -- libgit2 0.21.2