X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-torrus_serviceid.html;fp=httemplate%2Felements%2Fselect-torrus_serviceid.html;h=34e8e930f08c23e16c22b3319aebeb4b0cb5840f;hb=407fe3e7c401c7d2a7d6c3d9a0b22415a6d0a095;hp=a8cfca8b8528c75545c0b7f8c8f3407f6472065f;hpb=69b3b149f2a83cf280022388b1cd37e62990c721;p=freeside.git
diff --git a/httemplate/elements/select-torrus_serviceid.html b/httemplate/elements/select-torrus_serviceid.html
index a8cfca8b8..34e8e930f 100644
--- a/httemplate/elements/select-torrus_serviceid.html
+++ b/httemplate/elements/select-torrus_serviceid.html
@@ -5,7 +5,9 @@
% }
% foreach my $serviceid ( keys %serviceid ) {
-
+
% }
@@ -14,6 +16,8 @@
my %opt = @_;
+my $value = $opt{'curr_value'} || $opt{'value'};
+
#is this going to get too slow or will the index make it okay?
my $sth = dbh->prepare("SELECT DISTINCT(serviceid) FROM srvexport")
or die dbh->errstr;