]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Revert "quick fix for http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussio...
authorintrigeri <intrigeri@boum.org>
Sat, 6 Jun 2009 12:01:04 +0000 (14:01 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 6 Jun 2009 12:01:28 +0000 (14:01 +0200)
This reverts commit 2ed033a4aac0d603c375294bdb19f5b74519f389.
It has been more properly fixed in upstream's master, that will be merged in
immediately.

Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Render.pm

index 093c25b4579cacaedaa7f62028e2321300660b6b..adae9f0d5898dee39190a29328fa7e221c82dcdc 100644 (file)
@@ -77,7 +77,7 @@ sub genpage ($$) {
        }
        if ($config{discussion}) {
                my $discussionlink=gettext("discussion");
-               if ($page !~ /.*\/\Q$discussionlink\E$/i &&
+               if ($page !~ /.*\/\Q$discussionlink\E$/ &&
                   (length $config{cgiurl} ||
                    exists $links{$page."/".$discussionlink})) {
                        $template->param(discussionlink => htmllink($page, $page, gettext("Discussion"), noimageinline => 1, forcesubpage => 1));