Simplify book detail. re #73

This commit is contained in:
Sébastien Lucas 2013-06-17 21:41:59 +02:00
parent 8de878fa94
commit 23267e37fa
3 changed files with 8 additions and 114 deletions

View file

@ -169,11 +169,7 @@ class Book extends Base {
$urlParam = $this->getUri ();
if (!is_null (GetUrlParam (DB))) $urlParam = addURLParameter ($urlParam, DB, GetUrlParam (DB));
$urlParam = str_replace ("&", "&", $urlParam);
if ($permalink || getCurrentOption ('use_fancyapps') == 0) {
return 'index.php' . $urlParam;
} else {
return 'bookdetail.php' . $urlParam;
}
return 'index.php' . $urlParam;
}
public function getTitle () {