]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/opendiscussion.pm
po: inject custom isselflink to fix selflink detection on translation pages
[git.ikiwiki.info.git] / IkiWiki / Plugin / opendiscussion.pm
index 1bec4b013a9be6686f08a29b2c1a6658b353c635..4517ff88b6086964421324216d0a536b1bda771f 100644 (file)
@@ -23,7 +23,7 @@ sub canedit ($$) {
        my $cgi=shift;
        my $session=shift;
 
        my $cgi=shift;
        my $session=shift;
 
-       return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/;
+       return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
        return undef;
 }
 
        return undef;
 }