From: mark Date: Thu, 9 Feb 2012 19:28:58 +0000 (+0000) Subject: bugfix for towers without sectors, #16398 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=8e4c66cfb8aaf0aee2d1142636e53d0e17d11d4f bugfix for towers without sectors, #16398 --- diff --git a/httemplate/browse/tower.html b/httemplate/browse/tower.html index 0de3b324c..82eb872b1 100644 --- a/httemplate/browse/tower.html +++ b/httemplate/browse/tower.html @@ -22,6 +22,7 @@ die "access denied" my $num_svc_links = sub { my ($query_string, $sectors) = @_; + return if !$sectors; my $num_svc_broadband = FS::svc_broadband->count("sectornum IN($sectors)"); my $num_svc_acct = FS::svc_acct->count("sectornum IN($sectors)");