diff --git a/bureau/class/m_log.php b/bureau/class/m_log.php index ef620f68..8c8d229d 100644 --- a/bureau/class/m_log.php +++ b/bureau/class/m_log.php @@ -80,7 +80,7 @@ class m_log { function download_link($file){ global $err,$mem; $err->log("log","download_link"); - header("Content-Disposition: attachment; filename=".$mem->user["login"].".zip"); // FIXME: keep the original name file + header("Content-Disposition: attachment; filename=$file"); header("Content-Type: application/force-download"); header("Content-Transfer-Encoding: binary"); $f=$this->get_logs_directory();