From 79e8eac88d28191b0a1a9b5db1b306512cc5c6c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 1 Aug 2012 17:03:14 +0200 Subject: [PATCH] Bug when url rewriting is disabled (thanks to gaspine) --- data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.php b/data.php index 849f816..6bdc6cf 100644 --- a/data.php +++ b/data.php @@ -78,7 +78,7 @@ class Data extends Base { } else { - return str_replace ("&", "&", 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 (), NULL, $this->getFilename (), $this->id, NULL)->href); } }