summaryrefslogtreecommitdiff
path: root/FS/FS/svc_acct_pop.pm
diff options
context:
space:
mode:
authorivan <ivan>2001-09-27 21:49:31 +0000
committerivan <ivan>2001-09-27 21:49:31 +0000
commit2f33777f569ff435e4cc00769288b65f53fcfc0e (patch)
tree3ec53455314266d99bc6042e87d29641e83ddd41 /FS/FS/svc_acct_pop.pm
parente8116f5d849f479f03294232e25c41c3d82b50f2 (diff)
not used
Diffstat (limited to 'FS/FS/svc_acct_pop.pm')
-rw-r--r--FS/FS/svc_acct_pop.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/svc_acct_pop.pm b/FS/FS/svc_acct_pop.pm
index 3b8e9785a..243c18a8b 100644
--- a/FS/FS/svc_acct_pop.pm
+++ b/FS/FS/svc_acct_pop.pm
@@ -129,7 +129,6 @@ sub popselector {
push @{$svc_acct_pop{$_->state}}, $_ foreach @svc_acct_pop;
}
- my $size = 0;
my $text = <<END;
<SCRIPT>
function opt(what,href,text) {
@@ -151,7 +150,6 @@ END
foreach my $pop ( @{$svc_acct_pop{$popstate}}) {
my $o_popnum = $pop->popnum;
my $poptext = $pop->text;
- $size = length($poptext) if length($poptext) > $size;
$text .= "opt(what.form.popnum, \"$o_popnum\", \"$poptext\");\n"
}
$text .= "}\n";
@@ -173,13 +171,15 @@ END
}
$text .= '</SELECT>';
+ $text;
+
}
=back
=head1 VERSION
-$Id: svc_acct_pop.pm,v 1.4 2001-09-27 20:41:37 ivan Exp $
+$Id: svc_acct_pop.pm,v 1.5 2001-09-27 21:49:31 ivan Exp $
=head1 BUGS