diff options
author | Michael Hamann <michael@content-space.de> | 2012-09-17 23:43:37 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-09-17 23:43:37 +0200 |
commit | 9aa38483ceebb96c92d630550c000fc324738d0e (patch) | |
tree | ad4a26fe7e3af743b915c707e879615801f38905 /inc/html.php | |
parent | ff5a286c36a02bf81e4f8117cedda6803eaf7dfc (diff) | |
download | rpg-9aa38483ceebb96c92d630550c000fc324738d0e.tar.gz rpg-9aa38483ceebb96c92d630550c000fc324738d0e.tar.bz2 |
Fix link names of start pages in sitemap/index FS#2605
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index f4010b447..f4e6af663 100644 --- a/inc/html.php +++ b/inc/html.php @@ -863,7 +863,8 @@ function html_list_index($item){ $ret .= $base; $ret .= '</strong></a>'; }else{ - $ret .= html_wikilink(':'.$item['id']); + // default is noNSorNS($id), but we want noNS($id) when useheading is off FS#2605 + $ret .= html_wikilink(':'.$item['id'], useHeading('navigation') ? null : noNS($item['id'])); } return $ret; } |