lib/centaman/service/update_member.rb in centaman-4.0.2 vs lib/centaman/service/update_member.rb in centaman-4.0.3

- old
+ new

@@ -57,10 +57,10 @@ 'street2': '', 'suburb': address[:suburb].try(:upcase), 'state': address[:state].try(:upcase), 'postcode': address[:zip].try(:upcase), 'country': address[:country].try(:upcase), - 'homePhone': phone, + 'homePhone': phone.try(:delete, "^0-9"), 'workPhone': address[:work_phone], 'mobilePhone': address[:mobile_phone] } end