X-Git-Url: https://git.deb.at/?p=pkg%2Fblosxom.git;a=blobdiff_plain;f=blosxom.cgi;h=f4666d06e90dc5b73121862d0336f6b495a804e6;hp=1ee05fa378cf355818e158014307e3d33231c2e3;hb=d6ed37922ac9f1f8dffc136bbcf6618c3b74a03d;hpb=35adf25fd50df6682d227833899a1a1c22885695 diff --git a/blosxom.cgi b/blosxom.cgi index 1ee05fa..f4666d0 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -390,7 +390,9 @@ sub generate { %files = %$files; %others = ref $others ? %$others : (); # Plugins: Filter - foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('filter') and $entries = $plugin->filter(\%files, \%others) } + foreach my $plugin ( @plugins ) { + if ($plugins{$plugin} > 0 and $plugin->can('filter')){ $entries = $plugin->filter(\%files, \%others); } + } my %f = %files;