Modified: trunk/app/models/pack.rb (3769 => 3770)
--- trunk/app/models/pack.rb 2013-11-04 15:20:51 UTC (rev 3769)
+++ trunk/app/models/pack.rb 2013-11-04 15:24:48 UTC (rev 3770)
@@ -718,7 +718,11 @@
entry = contributable_entries.detect { |e| e.contributable_type == 'Blob' && e.contributable && e.contributable.component_profile? }
if entry
profile = ""
- profile.find_version(entry.contributable_version) if entry.contributable_version
+ if entry.contributable_version
+ profile.find_version(entry.contributable_version)
+ else
+ profile
+ end
else
nil
end