Bug when url rewriting is disabled (thanks to gaspine)

This commit is contained in:
Sébastien Lucas 2012-08-01 17:03:14 +02:00
parent c9bf2fa8c7
commit 79e8eac88d

View file

@ -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);
}
}