diff --git a/htdocs/comm/action/agendaexport.php b/htdocs/comm/action/agendaexport.php index 14df8b8f245e5add43cc8d5fed18b00ea1e65198..f02e20a7da63341d4c0a2c0659aedf6b8af56875 100644 --- a/htdocs/comm/action/agendaexport.php +++ b/htdocs/comm/action/agendaexport.php @@ -79,10 +79,11 @@ $agenda=new ActionComm($db); $result=$agenda->build_calfile($format,$type,0,$filename,$filters); if ($result >= 0) { - $attachment = false; $encoding='UTF-8'; - $type='text/plain'; - //$type='text/calendar'; + $attachment = true; + $type='text/calendar'; + //$type='text/plain'; // OK + //$attachment = false; // OK if ($encoding) header('Content-Encoding: '.$encoding); if ($type) header('Content-Type: '.$type);