From 92b534151455e0306b0f547d820f3e59e6c0c424 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Sun, 26 Aug 2012 18:26:53 +0000 Subject: [PATCH] Bug m_log --- bureau/class/m_log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();