projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63488b6
)
RT# 71289 - fixed error of saving duplicate data when editing contacts
author
Christopher Burger
<burgerc@freeside.biz>
Tue, 23 Oct 2018 15:07:45 +0000
(11:07 -0400)
committer
Christopher Burger
<burgerc@freeside.biz>
Tue, 23 Oct 2018 15:07:45 +0000
(11:07 -0400)
FS/FS/contact.pm
patch
|
blob
|
history
diff --git
a/FS/FS/contact.pm
b/FS/FS/contact.pm
index
81dfdbc
..
d6869ab
100644
(file)
--- a/
FS/FS/contact.pm
+++ b/
FS/FS/contact.pm
@@
-434,11
+434,12
@@
sub replace {
my $prospectnum = $self->prospectnum;
$self->prospectnum('');
my $custnum = $self->custnum;
- $self->custnum('');
+ $self->custnum('');
$old->custnum(''); # remove because now stored cust_contact
my %link_hash = ();
for (qw( classnum comment selfservice_access invoice_dest message_dest )) {
$link_hash{$_} = $self->get($_);
+ $old->$_(''); ##remove values from old record, causes problem with history
$self->$_('');
}