]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/goodstuff.pm
po plugin: respect documented convention to store pagestate
[git.ikiwiki.info.git] / IkiWiki / Plugin / goodstuff.pm
index 08ed960b4a3ff8bc7d10419e765a7bd3b4fbc8f0..ed1f4ddfc6cab5d88604be3fbe409ba3a573f642 100644 (file)
@@ -27,7 +27,9 @@ my @bundle=qw{
 
 sub import { #{{{
        hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
-       IkiWiki::loadplugin($_) foreach @bundle;
+       foreach my $plugin (@bundle) {
+               IkiWiki::loadplugin($plugin);
+       }
 } # }}}
 
 sub getsetup { #{{{