projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47bc610
)
force scalar context
author
Joey Hess
<joey@kitenet.net>
Mon, 17 May 2010 21:06:13 +0000
(17:06 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 17 May 2010 21:06:13 +0000
(17:06 -0400)
IkiWiki/Plugin/comments.pm
patch
|
blob
|
history
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 ($$$$) {