From f295d4d22349a9e8cc270a847c25ba5f19ff5372 Mon Sep 17 00:00:00 2001 From: Mason James Date: Mon, 2 Mar 2009 16:29:54 +1300 Subject: [PATCH] fixes missing 'STDERR', causing 500 error below.. malformed header from script. Bad header=## checkpw - checking LDAP: mainpage.pl, Signed-off-by: Galen Charlton --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 54f151e0e2..b98c828078 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1212,7 +1212,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); } -- 2.39.5