Commit 7c53e12d61664ab8392aae9273c9ad909ad46734
1 parent
51717a46
Exists in
master
and in
29 other branches
ActionItem683: fixed
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/branches/0.11.x@2513 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/models/create_enterprise.rb
... | ... | @@ -152,8 +152,8 @@ class CreateEnterprise < Task |
152 | 152 | msg << (_("Name: %s") % self.name) << "\n" |
153 | 153 | msg << (_("Acronym: %s") % self.acronym) << "\n" |
154 | 154 | msg << (_("Address: %s") % self.address) << "\n" |
155 | - msg << (_("Legal form: %s") % self.foundation_year) << "\n" | |
156 | - msg << (_("Foundation Year: %d") % self.foundation_year) << "\n" | |
155 | + msg << (_("Legal form: %s") % self.legal_form) << "\n" | |
156 | + msg << (_("Foundation Year: %d") % self.foundation_year) << "\n" unless self.foundation_year.empty? | |
157 | 157 | msg << (_("Economic activity: %s") % self.economic_activity) << "\n" |
158 | 158 | |
159 | 159 | msg << _("Information about enterprise's management:\n") << self.management_information.to_s << "\n" | ... | ... |