Author: stas Date: Mon Dec 13 16:56:35 2004 New Revision: 111771 URL: http://svn.apache.org/viewcvs?view=rev&rev=111771 Log: fix undefined warning
Modified: httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm Modified: httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm?view=diff&rev=111771&p1=httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm&r1=111770&p2=httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm&r2=111771 ============================================================================== --- httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm (original) +++ httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm Mon Dec 13 16:56:35 2004 @@ -431,7 +431,7 @@ $self->{mpm} = ''; } - if ($self->{httpd_info}->{VERSION} =~ qr,Apache/2,) { + if (($self->{httpd_info}->{VERSION}||'') =~ qr,Apache/2,) { # PHP 4.x on httpd-2.x needs a special modname alias; $modname_alias{'mod_php4.c'} = 'sapi_apache2.c'; }