From: paca70 <paca70>
Date: Tue, 25 Feb 2003 10:31:59 +0000 (+0000)
Subject: Fixed some typos
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=44996d00f9be6f52a0addf0d5fbdbf9343f76c06;p=moodle.git

Fixed some typos
---

diff --git a/auth/ldap/lib.php b/auth/ldap/lib.php
index ba71230933..9e674c278d 100644
--- a/auth/ldap/lib.php
+++ b/auth/ldap/lib.php
@@ -50,7 +50,6 @@ function auth_user_login ($username, $password) {
         $ldap_login = @ldap_bind($ldap_connection, $ldap_user_dn, $password);
         ldap_close($ldap_connection);
         if ($ldap_login) {
-            ldap_close($ldap_connection);
             return true;
         }
     } else {
@@ -67,7 +66,7 @@ function auth_get_userinfo($username){
     global $CFG;
 
     $config = (array)$CFG;
-    $moodleattributes = auth_ldap_attributes();
+    $attrmap = auth_ldap_attributes();
    
     $ldap_connection=auth_ldap_connect();