mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix friendly name
This commit is contained in:
1 parent
bd03498b0f
commit
92b297a620
1 file changed
+1
-1
@@ -90,7 +90,7 @@ class Submitter < ApplicationRecord
|
||||
|
||||
def friendly_name
|
||||
if name.present? && email.present? && email.exclude?(',')
|
||||
%("#{name.delete('"')}" <#{email}>)
|
||||
%("#{name.delete('"').squish}" <#{email}>)
|
||||
else
|
||||
email
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user