projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6f6a1
)
quick fix for http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussion_pages/
author
intrigeri
<intrigeri@boum.org>
Wed, 3 Jun 2009 16:29:20 +0000
(18:29 +0200)
committer
intrigeri
<intrigeri@boum.org>
Wed, 3 Jun 2009 16:29:20 +0000
(18:29 +0200)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index adae9f0d5898dee39190a29328fa7e221c82dcdc..093c25b4579cacaedaa7f62028e2321300660b6b 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-77,7
+77,7
@@
sub genpage ($$) {
}
if ($config{discussion}) {
my $discussionlink=gettext("discussion");
- if ($page !~ /.*\/\Q$discussionlink\E$/ &&
+ if ($page !~ /.*\/\Q$discussionlink\E$/
i
&&
(length $config{cgiurl} ||
exists $links{$page."/".$discussionlink})) {
$template->param(discussionlink => htmllink($page, $page, gettext("Discussion"), noimageinline => 1, forcesubpage => 1));