X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5cd32c2eeeafc5e9f3feae7983fc48a9711462a3..6637d5bb25703dd90df0f11085566a7ba958c310:/IkiWiki/UserInfo.pm?ds=sidebyside diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm index bbcddb616..9a165dad1 100644 --- a/IkiWiki/UserInfo.pm +++ b/IkiWiki/UserInfo.pm @@ -68,7 +68,11 @@ sub is_admin ($) { #{{{ sub commit_notify_list ($@) { #{{{ my $committer=shift; - my @pages=@_; + + my @pages; + foreach my $file (@_) { + push @pages, grep { $pagesources{$_} eq $file } keys %pagesources; + } my @ret; my $userinfo=userinfo_retrieve();