]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/comments.pm
rename hash and avoid unnecessary hash ref
[git.ikiwiki.info.git] / IkiWiki / Plugin / comments.pm
index ceb7c7836a1af0d8d66eba81931931b4bafc59e7..98786f4328412448138f578ae0f04834fec39f98 100644 (file)
@@ -862,7 +862,7 @@ sub page_to_id ($) {
        eval q{use Digest::MD5 'md5_hex'};
        error($@) if $@;
 
        eval q{use Digest::MD5 'md5_hex'};
        error($@) if $@;
 
-       return "comment-".md5_hex(Encode::encode_utf8(($page));
+       return "comment-".md5_hex(Encode::encode_utf8(($page)));
 }
        
 package IkiWiki::PageSpec;
 }
        
 package IkiWiki::PageSpec;