You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/07/09 23:31:25 UTC
[whimsy] branch master updated: Allow for alternate name
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new ebc534b Allow for alternate name
ebc534b is described below
commit ebc534b217dd0a2b6082bbd320a31b73225f035e
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jul 10 00:31:18 2021 +0100
Allow for alternate name
---
www/secretary/iclaparser.rb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/www/secretary/iclaparser.rb b/www/secretary/iclaparser.rb
index eadf4b8..dfa0db0 100644
--- a/www/secretary/iclaparser.rb
+++ b/www/secretary/iclaparser.rb
@@ -119,6 +119,7 @@ module ICLAParser
'mailingaddress' => :MailingAddress,
'mailingaddress2' => :MailingAddress2,
'postaladdress' => :MailingAddress,
+ 'postaladdress2' => :MailingAddress2,
'country' => :Country,
'telephone' => :Telephone,
'e-mail' => :EMail,
@@ -185,9 +186,9 @@ module ICLAParser
end
end
val.gsub!("\x7F",'') # Not sure where these originate
- if val.length > 0
+ # if val.length > 0
data[canon_field_name(key)] = val.gsub("\x7F",'') # Not sure where these originate
- end
+ # end
metadata[:dataSource]['Form'] = true
end
end