diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-02-03 07:18:45 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-02-03 07:18:45 -0800 |
commit | aeb90ade381fc3d5477db0334048c2af623fccfe (patch) | |
tree | d1540f5ccef513d10193c124fa6aeaae743ba107 /FS/FS/contact.pm | |
parent | 167dbdad01e2c1b62fd9be43cc05212e8c874a02 (diff) | |
parent | d9edf24e9d3e1fd87a23359a7679ef6d6637c00d (diff) |
contacts can be shared among customers / "duplicate contact emails", RT#27943
Diffstat (limited to 'FS/FS/contact.pm')
-rw-r--r-- | FS/FS/contact.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/contact.pm b/FS/FS/contact.pm index 07458c742..589fc7c19 100644 --- a/FS/FS/contact.pm +++ b/FS/FS/contact.pm @@ -464,6 +464,8 @@ sub replace { next; } + $contact_phone ||= new FS::contact_phone \%cp; + my %cpd = _parse_phonestring( $self->get($pf) ); $contact_phone->set( $_ => $cpd{$_} ) foreach keys %cpd; |