From 19ffc419c820b18ffef2390ff479acbce4f7c3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Mon, 2 Jul 2012 21:00:01 +0200 Subject: [PATCH] Fix download link --- data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.php b/data.php index a5fb0d7..2d64e4d 100644 --- a/data.php +++ b/data.php @@ -78,7 +78,7 @@ class Data extends Base { } else { - return self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title)->href; + return str_replace ("&", "&", self::getLink ($this->book, $this->extension, $this->getMimeType (), $rel, $this->getFilename (), $this->id, $title)->href); } }