You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2014/09/15 17:36:58 UTC
svn commit: r1625077 - /httpd/docs-build/trunk/irc_factoids.pl
Author: rbowen
Date: Mon Sep 15 15:36:57 2014
New Revision: 1625077
URL: http://svn.apache.org/r1625077
Log:
Handle it correctly when a module has *no* directives.
Modified:
httpd/docs-build/trunk/irc_factoids.pl
Modified: httpd/docs-build/trunk/irc_factoids.pl
URL: http://svn.apache.org/viewvc/httpd/docs-build/trunk/irc_factoids.pl?rev=1625077&r1=1625076&r2=1625077&view=diff
==============================================================================
--- httpd/docs-build/trunk/irc_factoids.pl (original)
+++ httpd/docs-build/trunk/irc_factoids.pl Mon Sep 15 15:36:57 2014
@@ -28,7 +28,7 @@ my %directives;
if ( $directives->{name} ) { # There was only one
%directives = ( $directives->{name} => $directives );
} else { # More than one
- %directives = %{ $xml->{directivesynopsis} };
+ %directives = defined( $xml->{directivesynopsis} ) ? %{ $xml->{directivesynopsis} } : () ;
}
foreach my $directive ( sort( keys %directives ) ) {