Merge pull request #6077 from tchak/fix-pdf-nilcheck
Ensure address to_s never returns nil
This commit is contained in:
commit
5ecd70eea1
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Champs::AddressChamp < Champs::TextChamp
|
|||
end
|
||||
|
||||
def to_s
|
||||
address_label
|
||||
address_label.presence || ''
|
||||
end
|
||||
|
||||
def for_tag
|
||||
|
|
Loading…
Reference in a new issue