[Koha-patches] [PATCH] fixes missing 'STDERR', causing 500 error below..

Mason James mason.loves.sushi at gmail.com
Mon Mar 2 04:29:54 CET 2009


 malformed header from script. Bad header=## checkpw - checking LDAP: mainpage.pl,
---
 C4/Auth.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Auth.pm b/C4/Auth.pm
index 0887103..33b7e11 100644
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -1213,7 +1213,7 @@ sub checkpw {
 
     my ( $dbh, $userid, $password ) = @_;
     if ($ldap) {
-        $debug and print "## checkpw - checking LDAP\n";
+        $debug and print STDERR "## checkpw - checking LDAP\n";
         my ($retval,$retcard) = checkpw_ldap(@_);    # EXTERNAL AUTH
         ($retval) and return ($retval,$retcard);
     }
-- 
1.5.6.5




More information about the Koha-patches mailing list