include elements/search.html the right way to avoid problems with XLS download, ...
[freeside.git] / httemplate / search / cust_pay_batch.cgi
index 830a6c6..dde5461 100755 (executable)
@@ -1,4 +1,4 @@
-<% include('elements/search.html',
+<& elements/search.html,
               'title'       => 'Batch payment details',
               'name'        => 'batch details',
              'query'       => $sql_query,
@@ -41,8 +41,7 @@
               'link_onclicks' => [ ('') x 8,
                                    $sub_receipt
                                  ],
-      )
-%>
+&>
 <%init>
 
 my $conf = new FS::Conf;