summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/browse/part_pkg-fcc.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/browse/part_pkg-fcc.html b/httemplate/browse/part_pkg-fcc.html
index 4c9cea195..e3fd97ccf 100755
--- a/httemplate/browse/part_pkg-fcc.html
+++ b/httemplate/browse/part_pkg-fcc.html
@@ -94,8 +94,6 @@ my $select = join(',',
my $addl_from =
FS::Report::FCC_477::join_optionnames(@optionnames);
-$cgi->param('classnum', $classnum) if length($classnum);
-
my $link = [ $p.'edit/part_pkg.cgi?', 'pkgpart' ];
my @header = ( '#', 'Package', 'Comment' );
@@ -203,6 +201,9 @@ my $html_form = qq!<FORM ACTION="${p}edit/process/bulk-part_pkg-fcc.html" METHOD
}
</SCRIPT>!;
+# restore this only after creating $html_form
+$cgi->param('classnum', $classnum) if length($classnum);
+
my $html_foot = qq!
<INPUT TYPE="submit" VALUE="Save changes">
</FORM>!;