diff --git a/modules/page-list.php b/modules/page-list.php index 31b7496..1833779 100644 --- a/modules/page-list.php +++ b/modules/page-list.php @@ -286,7 +286,11 @@ function generate_page_list($pagelist) !empty($pageindex->$pagename->redirect)) $pageDisplayName = "$pageDisplayName"; - $result .= "
  • $pageDisplayName + $url = "index.php?page=" . rawurlencode($pagename); + if(isset($pageindex->$pagename->redirect) && $pageindex->$pagename->redirect == true) + $url .= "&redirect=no"; + + $result .= "
  • $pageDisplayName (" . human_filesize($pageindex->$pagename->size) . ") " . $pageindex->$pagename->lasteditor . "