From 33b0a6aca86168ad1f6045b21774901eb3f52e27 Mon Sep 17 00:00:00 2001 From: Luciano Prestes Cavalcanti Date: Mon, 11 Jan 2016 20:43:37 +0100 Subject: [PATCH] Fix edit software with another license --- src/noosfero-spb/software_communities/controllers/software_communities_plugin_myprofile_controller.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/noosfero-spb/software_communities/controllers/software_communities_plugin_myprofile_controller.rb b/src/noosfero-spb/software_communities/controllers/software_communities_plugin_myprofile_controller.rb index a2b3acb..501fe98 100644 --- a/src/noosfero-spb/software_communities/controllers/software_communities_plugin_myprofile_controller.rb +++ b/src/noosfero-spb/software_communities/controllers/software_communities_plugin_myprofile_controller.rb @@ -169,6 +169,7 @@ class SoftwareCommunitiesPluginMyprofileController < MyProfileController @another_license_link = "" license_another = LicenseInfo.find_by_version("Another") + @license_id = license_another.id if license_another if license_another && @software_info.license_info_id == license_another.id @license_version = "Another" @another_license_version = @software_info.license_info.version -- libgit2 0.21.2