From a318df695ef06edcb427c1ee0f1e5f89e6cad3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 1 Jun 2002 20:09:57 +0000 Subject: [PATCH] Header case --- libraries/fpdf/fpdf.php3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/fpdf/fpdf.php3 b/libraries/fpdf/fpdf.php3 index 6cffc328e..f722ee684 100644 --- a/libraries/fpdf/fpdf.php3 +++ b/libraries/fpdf/fpdf.php3 @@ -2218,7 +2218,7 @@ class FPDF $this->Error('Some data has already been output to browser, can\'t send PDF file'); } header('Content-Length: ' . strlen($this->buffer)); - header('Content-disposition: inline; filename=doc.pdf'); + header('Content-Disposition: inline; filename=doc.pdf'); echo $this->buffer; } // Download file @@ -2234,7 +2234,7 @@ class FPDF $this->Error('Some data has already been output to browser, can\'t send PDF file'); } header('Content-Length: ' . strlen($this->buffer)); - header('Content-disposition: attachment; filename=' . $file); + header('Content-Disposition: attachment; filename=' . $file); echo $this->buffer; } // Save file locally