If there are any failing plugins and you use %FAILEDPLUGINS% then you get errors in the server log. This patch fixes them.
Index: Plugins.pm
===================================================================
--- Plugins.pm (revision 1702)
+++ Plugins.pm (working copy)
@@ -388,9 +388,11 @@
$text.="\n\n";
foreach my $handler (@registrableHandlers) {
- $text .= "| $handler |";
- $text .= join "<br />", @{$registeredHandlers{$handler}};
- $text .= "|\n";
+ $text .= "| $handler | ";
+ if ( defined( $registeredHandlers{$handler} )) {
+ $text .= join "<br />", @{$registeredHandlers{$handler}};
+ }
+ $text .= " |\n";
}
--
CrawfordCurrie - 08 Aug 2004
Thanks Crawford, is now in
SVN.
--
PeterThoeny - 08 Aug 2004