diff options
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 4 | ||||
-rw-r--r-- | debian/changelog | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index de193bd12..f2cd8f90a 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -914,7 +914,7 @@ sub match_comment ($$;@) { $IkiWiki::pagesources{$page} : $IkiWiki::delpagesources{$page}; my $type=IkiWiki::pagetype($source); - if (defined $type && $type ne "_comment") { + if (! defined $type || $type ne "_comment") { return IkiWiki::FailReason->new("$page is not a comment"); } @@ -929,7 +929,7 @@ sub match_comment_pending ($$;@) { $IkiWiki::pagesources{$page} : $IkiWiki::delpagesources{$page}; my $type=IkiWiki::pagetype($source); - if (defined $type && $type ne "_comment_pending") { + if (! defined $type || $type ne "_comment_pending") { return IkiWiki::FailReason->new("$page is not a pending comment"); } diff --git a/debian/changelog b/debian/changelog index c829f2f06..da4851d5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (3.20100518.2) unstable; urgency=low + + * Fix a typo in the last release. + + -- Joey Hess <joeyh@debian.org> Tue, 18 May 2010 14:16:30 -0400 + ikiwiki (3.20100518) unstable; urgency=low * page.tmpl: Accidentially broke po plugin's otherlanguages list styling |