Use PrintHeader to generate the header

This commit is contained in:
Jamie Cameron
2018-04-28 13:29:15 -07:00
parent bb6a05afb3
commit 4230d63aea

View File

@ -60,7 +60,7 @@ else {
}
if ($in{'csv'}) {
print "Content-type: text/csv\n\n";
&PrintHeader(undef, "text/csv");
}
else {
&ui_print_header(undef, $text{'search_title'}, "");