projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56d10a0
)
fix stupid compile error
author
Mark Wells
<mark@freeside.biz>
Sat, 6 Dec 2014 17:48:09 +0000
(09:48 -0800)
committer
Mark Wells
<mark@freeside.biz>
Sat, 6 Dec 2014 17:48:09 +0000
(09:48 -0800)
FS/FS/cust_location.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_location.pm
b/FS/FS/cust_location.pm
index
72cd856
..
23dbce9
100644
(file)
--- a/
FS/FS/cust_location.pm
+++ b/
FS/FS/cust_location.pm
@@
-267,10
+267,6
@@
sub replace {
my $old = shift;
$old ||= $self->replace_old;
# the following fields are immutable
my $old = shift;
$old ||= $self->replace_old;
# the following fields are immutable
- if ($self->get('unlock')) {
- # well, mostly immutable
- warn "WARNING: locationnum ".$old->locationnum." MODIFIED IN PLACE\n";
- } else {
foreach (qw(address1 address2 city state zip country)) {
if ( $self->$_ ne $old->$_ ) {
return "can't change cust_location field $_";
foreach (qw(address1 address2 city state zip country)) {
if ( $self->$_ ne $old->$_ ) {
return "can't change cust_location field $_";