summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-taxclass.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/select-taxclass.html')
-rw-r--r--httemplate/elements/select-taxclass.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/select-taxclass.html b/httemplate/elements/select-taxclass.html
index 6fe35d32c..2d0db3068 100644
--- a/httemplate/elements/select-taxclass.html
+++ b/httemplate/elements/select-taxclass.html
@@ -22,7 +22,9 @@
<%init>
-my( $selected_taxclass, %opt ) = @_;
+my %opt = @_;
+my $selected_taxclass = $opt{'curr_value'}; # || $opt{'value'} necessary?
+
my $conf = new FS::Conf;
unless ( $opt{'taxclasses'} ) {