[freeside-commits] branch master updated. f197bdbaa16df592a82971c63aa4321a4788d335
Mark Wells
mark at 420.am
Wed Dec 19 12:35:11 PST 2012
The branch, master has been updated
via f197bdbaa16df592a82971c63aa4321a4788d335 (commit)
from f35dc3162276739ca95bc380490e83ede5b73393 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f197bdbaa16df592a82971c63aa4321a4788d335
Author: Mark Wells <mark at freeside.biz>
Date: Wed Dec 19 12:33:48 2012 -0800
fix in-use test for IP addresses in cases where blocknum is not set
diff --git a/FS/FS/svc_IP_Mixin.pm b/FS/FS/svc_IP_Mixin.pm
index 7026205..7eda7e0 100644
--- a/FS/FS/svc_IP_Mixin.pm
+++ b/FS/FS/svc_IP_Mixin.pm
@@ -93,7 +93,7 @@ sub _used_addresses {
# in use, yes?
my %hash = ( $ip_field => { op => '!=', value => '' } );
- $hash{'blocknum'} = $block->blocknum if $block;
+ #$hash{'blocknum'} = $block->blocknum if $block;
$hash{'svcnum'} = { op => '!=', value => $exclude->svcnum } if ref $exclude;
map { $_->NetAddr->addr } qsearch($class->table, \%hash);
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/svc_IP_Mixin.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list