summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-24 05:52:51 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-24 05:52:51 +0000
commit65ddd9ee21d0faa8e02b3c32dc396210d97275de (patch)
treee5c14be99428f5caecfb3ffb4efaddb52d929c90 /IkiWiki
parent819918787082d04640b45eb9f4d0f184d1e11f26 (diff)
update
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/UserInfo.pm4
1 files changed, 3 insertions, 1 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) {