From c388a509e22db3074a95e0bb771b08f0781f5501 Mon Sep 17 00:00:00 2001 From: Gust Date: Thu, 16 Oct 2014 09:18:19 -0300 Subject: [PATCH] Fix software categories --- controllers/mpog_software_plugin_myprofile_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/mpog_software_plugin_myprofile_controller.rb b/controllers/mpog_software_plugin_myprofile_controller.rb index a964c6c..a64a8a8 100644 --- a/controllers/mpog_software_plugin_myprofile_controller.rb +++ b/controllers/mpog_software_plugin_myprofile_controller.rb @@ -84,7 +84,7 @@ class MpogSoftwarePluginMyprofileController < MyProfileController @list_databases = DatabaseHelper.list_database(params[:database]) @software_categories = SoftwareCategories::new params[:software_categories] @list_operating_systems = OperatingSystemHelper.list_operating_system(params[:operating_system]) - @software_info.software_categories = @software_categorie unless params[:software_categories].nil? + @software_info.software_categories = @software_categories unless params[:software_categories].nil? if not @list_libraries.nil? @software_info.libraries.destroy_all -- libgit2 0.21.2