summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-11 04:35:50 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-11 04:35:50 +0000
commit6f2c69a375055fa5c6ac9dc77eabbb9276032017 (patch)
tree135da1695e8f05cc83c85370f3d9c29fd103baed
parenta1b90621e4fb187fe6f08b23083b5d1f57ee53b6 (diff)
foo
-rwxr-xr-xikiwiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/ikiwiki b/ikiwiki
index b9acc10b5..129076f75 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -397,7 +397,7 @@ sub rcs_recentchanges ($) {
$when=concise(ago(time - str2time($3)));
}
elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E\/(.+)$/) {
- push @pages, pagename($1);
+ push @pages, pagename($1) if length $1;
}
elsif ($state eq 'header' && /^$/) {
$state='body';
@@ -405,7 +405,7 @@ sub rcs_recentchanges ($) {
elsif ($state eq 'body' && /$div/) {
push @ret, { rev => $rev, user => $user,
when => $when, message => $message,
- pages => [@pages] };
+ pages => [@pages] } if @pages;
return @ret if @ret >= $num;
$state='header';