From: Mark Wells Date: Sat, 6 Dec 2014 17:48:09 +0000 (-0800) Subject: fix stupid compile error X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=56efb22e0fe7adb1aebad517c6975edbf6e1c921 fix stupid compile error --- diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm index 72cd8567e..23dbce909 100644 --- 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 - 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 $_";