don't redirect to a GET with sensitive data, RT#26099
[freeside.git] / httemplate / search / cust_tax_exempt.cgi
index b1abada..1f26cfb 100644 (file)
@@ -1,4 +1,4 @@
-<% include( 'elements/search.html',
+<& elements/search.html,
                  'title'       => 'Legacy tax exemptions',
                  'name'        => 'legacy tax exemptions',
                  'query'       => $query,
@@ -14,7 +14,7 @@
                  'fields'      => [
                    'exemptnum',
                    sub { $_[0]->month. '/'. $_[0]->year; },
-                   sub { my $h = $_->h_search('insert');
+                   sub { my $h = $_[0]->h_search('insert');
                          $h ? time2str('%L/%d/%Y', $h->history_date ) : ''
                        },
                    sub { $money_char. $_[0]->amount; },
@@ -46,8 +46,8 @@
                               '',
                               FS::UI::Web::cust_styles(),
                             ],
-           )
-%>
+           
+&>
 <%init>
 
 my $join_cust = "