diff --git a/modules/lemonldap-ng-handler/Changes b/modules/lemonldap-ng-handler/Changes index 26de928a5..7b9beacb1 100644 --- a/modules/lemonldap-ng-handler/Changes +++ b/modules/lemonldap-ng-handler/Changes @@ -1,8 +1,8 @@ Revision history for Perl extension Lemonldap::NG::Handler. -0.74 - - unprotect system: the unprotect sub can be used to avoid Lemonldap::NG - control. +0.74 Sun Feb 4 19:27:34 2007 + - unprotect system documentation + - remove warning on Apache-1.3 ($ENV{MOD_PERL_API_VERSION} does not exist) 0.73 Thu Jan 4 15:34:22 2007 - In VirtualHost context, PerlInitHandler is an alias for @@ -21,7 +21,7 @@ Revision history for Perl extension Lemonldap::NG::Handler. 0.71 Sun Dec 31 13:47:49 2006 - Bug corrections in Vhosts: default header does not work Safe does not work because lmSetHeaderIn - was not shared + was not shared - Example correction 0.7 Tue Dec 19 19:09:09 2006 diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm index 5020e4599..9feaa6892 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm @@ -59,7 +59,7 @@ our ( BEGIN { if ( exists $ENV{MOD_PERL} ) { - if ( $ENV{MOD_PERL_API_VERSION} >= 2 ) { + if ( $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} >= 2 ) { *MP = sub { 2 }; } else {