diff options
-rw-r--r-- | IkiWiki/UserInfo.pm | 4 | ||||
-rw-r--r-- | debian/changelog | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm index 5c9d7dce6..d48b8071c 100644 --- a/IkiWiki/UserInfo.pm +++ b/IkiWiki/UserInfo.pm @@ -112,7 +112,9 @@ sub send_commit_mails ($$$@) { #{{{ my $messagesub=shift; my $diffsub=shift; my $user=shift; - my @changed_pages=shift; + my @changed_pages=@_; + + return unless @changed_pages; my @email_recipients=commit_notify_list($user, @changed_pages); if (@email_recipients) { diff --git a/debian/changelog b/debian/changelog index 93fa16b01..490a0bb1e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,12 +6,13 @@ ikiwiki (1.37) UNRELEASED; urgency=low * Avoid creating edit links when the cgi url is not known. * Avoid displaying discussion links at all, if there's not a discussion page, when the cgi url isn't known. - * Before, svn was used as the RCS by default unless configured otherwise, + * Before, svn was used as the RCS by default unless configured otherwise, now it defaults to using no RCS unless configured to do so, to avoid some - suprising behavior when using a setup file and not uncommenting any RCS - options. + suprising behavior when using a setup file and not uncommenting any RCS + options. + * Fix some bugs in the commit email sending code. - -- Joey Hess <joeyh@debian.org> Sat, 23 Dec 2006 01:51:49 -0500 + -- Joey Hess <joeyh@debian.org> Sun, 24 Dec 2006 00:51:11 -0500 ikiwiki (1.36) unstable; urgency=low |