diff options
author | mark <mark> | 2012-02-09 19:28:58 +0000 |
---|---|---|
committer | mark <mark> | 2012-02-09 19:28:58 +0000 |
commit | 8e4c66cfb8aaf0aee2d1142636e53d0e17d11d4f (patch) | |
tree | aed9084c1642b68b84f7233c75d7a14859b423de /httemplate/browse | |
parent | 53affc82f5cb3d0b2dfdfa7f5b073716a3025c23 (diff) |
bugfix for towers without sectors, #16398
Diffstat (limited to 'httemplate/browse')
-rw-r--r-- | httemplate/browse/tower.html | 1 |
1 files changed, 1 insertions, 0 deletions
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)"); |