projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix oops in FS::cust_main_invoice::replace preventing package cancellation
[freeside.git]
/
FS
/
FS
/
Record.pm
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
578904e
..
333602c
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-472,10
+472,11
@@
returns the error, otherwise returns false.
sub replace {
my ( $new, $old ) = ( shift, shift );
sub replace {
my ( $new, $old ) = ( shift, shift );
+ warn "[debug][FS::Record] $new ->replace $old\n" if $DEBUG;
my @diff = grep $new->getfield($_) ne $old->getfield($_), $old->fields;
unless ( @diff ) {
my @diff = grep $new->getfield($_) ne $old->getfield($_), $old->fields;
unless ( @diff ) {
- carp "
warning
: records identical";
+ carp "
[warning][FS::Record] $new -> replace $old
: records identical";
return '';
}
return '';
}
@@
-993,7
+994,7
@@
sub DESTROY { return; }
=head1 VERSION
=head1 VERSION
-$Id: Record.pm,v 1.2
8 2001-09-14 18:05:16
ivan Exp $
+$Id: Record.pm,v 1.2
9 2001-09-16 12:45:35
ivan Exp $
=head1 BUGS
=head1 BUGS