From 3d598f290d44e3f4863294b9f30a65a186a1ccdb Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 5 Oct 2011 21:03:52 +1300 Subject: [PATCH] Fix headers. --- inc/tz/get.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/tz/get.php b/inc/tz/get.php index 6b7b65fa..c5f83c16 100644 --- a/inc/tz/get.php +++ b/inc/tz/get.php @@ -44,8 +44,8 @@ if ( $qry->QDo('SELECT * FROM tz_localnames WHERE our_tzno = :our_tzno', array(' } header( 'ETag: "'.$tz->etag.'"' ); -header( 'Last-Modified', $tz->last_modified ); -header( 'Content-Disposition', 'Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' )); +header( 'Last-Modified: '. $tz->last_modified ); +header( 'Content-Disposition: Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' )); $request->DoResponse(200, $vtz->Render(), 'text/calendar; charset=UTF-8');