logic fix

This commit is contained in:
Stas 2015-11-13 17:14:31 +02:00 committed by Matt Farnsworth
parent 71ea9dd961
commit 55abacdf6b

View file

@ -24,7 +24,7 @@ module ApplicationHelper
when 'birthday'
"#{ident} [#{ident_type}]"
else
if ident
if ident.present?
"#{ident} [#{ident_country_code} #{ident_type}]"
else
"[No access]"