Don't force download of HTML member directory for consistency

This commit is contained in:
Skylar Ittner 2018-12-11 21:44:00 -07:00
parent 6664fd5078
commit cab1f53e2c

View File

@ -53,7 +53,7 @@ if ($format == "html") {
$htmltop = <<<END
<!DOCTYPE html>
<title>HACHE Member Directory</title>
<style>
<style nonce="$SECURE_NONCE">
html, body {
font-family: Roboto, DejaVu Sans, Arial, sans-serif;
}
@ -134,7 +134,6 @@ END;
$html = $htmltop . $htmlmiddle . $htmlbottom;
header("Content-Type: text/html; charset=UTF-8");
header("Content-disposition: attachment; filename=\"HACHE_Directory_" . date("Y-m-d") . ".html\"");
echo $html;
} else {
\PhpOffice\PhpWord\Settings::setOutputEscapingEnabled(true);