From 7b382b2420a9f6ed5f81b106503c41f48b9e3981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 1 Jul 2012 14:55:24 +0200 Subject: [PATCH] Fix download without X-Accel-Redirect --- data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.php b/data.php index 3b2c10b..f8337b3 100644 --- a/data.php +++ b/data.php @@ -62,7 +62,7 @@ class Data extends Base { } public function getFilename () { - $this->name . "." . strtolower ($this->format); + return $this->name . "." . strtolower ($this->format); } public function getDataLink ($rel, $title = NULL) {