From c6355fe74284b7e155f2587b2f7d03507c3a33c4 Mon Sep 17 00:00:00 2001
From: Chris Cormack <chrisc@catalyst.net.nz>
Date: Fri, 22 Mar 2013 10:51:31 +1300
Subject: [PATCH] [PASSED QA] Bug 7973 : Follow up to remove an extraneous my

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes problem found by QA scripts.
---
 C4/Auth_with_ldap.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm
index d29d8e8..1f2f617 100644
--- a/C4/Auth_with_ldap.pm
+++ b/C4/Auth_with_ldap.pm
@@ -119,7 +119,7 @@ sub checkpw_ldap {
     $userldapentry = $search->shift_entry;
 
     # Perform a LDAP bind for the given username using the matched DN
-    my $res = $db->bind( $userldapentry->dn, password => $password );
+    $res = $db->bind( $userldapentry->dn, password => $password );
     if ( $res->code ) {
       $debug and warn "LDAP bind failed as kohauser $userid: ". description($res);
       return 0;
-- 
1.7.9.5