From 65ddd9ee21d0faa8e02b3c32dc396210d97275de Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 24 Dec 2006 05:52:51 +0000 Subject: update --- IkiWiki/UserInfo.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'IkiWiki') 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) { -- cgit v1.2.3