Bug when url rewriting is disabled (thanks to gaspine)
This commit is contained in:
parent
c9bf2fa8c7
commit
79e8eac88d
2
data.php
2
data.php
|
@ -78,7 +78,7 @@ class Data extends Base {
|
||||||
}
|
}
|
||||||
else
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue