Merge branch 'patch-4' of https://github.com/gjones2/Freeside (#13854 as this bug...
[freeside.git] / httemplate / search / elements / search.html
index eca68a2..5a16a22 100644 (file)
@@ -176,7 +176,9 @@ Example:
 %
 % } elsif ( $type =~ /\.xls$/ ) {
 %
-<% include('search-xls.html',  header=>$header, rows=>$rows, opt=>\%opt ) %>
+<& 'search-xls.html',  header=>$header, rows=>$rows, opt=>\%opt &>\
+% # prevent the caller from polluting our output stream
+% $m->abort;
 %
 % } elsif ( $type eq 'xml' ) {
 %