projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
force scalar context
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
comments.pm
diff --git
a/IkiWiki/Plugin/comments.pm
b/IkiWiki/Plugin/comments.pm
index 3cafcbe9c6860dbfb95087da454bf364617f1292..eb861d74fbd1206476c74387ba1bd2fba694775f 100644
(file)
--- a/
IkiWiki/Plugin/comments.pm
+++ b/
IkiWiki/Plugin/comments.pm
@@
-859,7
+859,7
@@
sub num_comments ($$) {
my $dir=shift;
my @comments=glob("$dir/$page/$config{comments_pagename}*._comment");
- return @comments;
+ return
int
@comments;
}
sub unique_comment_location ($$$$) {