]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix redefinition of $author
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:22:43 +0000 (15:22 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:22:43 +0000 (15:22 -0500)
IkiWiki/Plugin/comments.pm

index c458ea9dab55ef2b20e18cbe48b6191066dcfafd..972d069d50605d22afed0e79e23a6a9df5fb8e51 100644 (file)
@@ -403,8 +403,6 @@ sub sessioncgi ($$) { #{{{
                $location = "$page/${comments_pagename}${i}";
        } while (-e "$config{srcdir}/$location._comment");
 
                $location = "$page/${comments_pagename}${i}";
        } while (-e "$config{srcdir}/$location._comment");
 
-       my $anchor = "${comments_pagename}${i}";
-
        my $content = "[[!_comment format=$type\n";
 
        # FIXME: handling of double quotes probably wrong?
        my $content = "[[!_comment format=$type\n";
 
        # FIXME: handling of double quotes probably wrong?