]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed typo
authorpaca70 <paca70>
Fri, 24 Sep 2004 08:56:47 +0000 (08:56 +0000)
committerpaca70 <paca70>
Fri, 24 Sep 2004 08:56:47 +0000 (08:56 +0000)
auth/ldap/lib.php

index 63a594bf4c771c57ab1dfdc01ddaff778f989ae5..eacd58ab82ccb67e25254590278882a7a80daf82 100644 (file)
@@ -573,7 +573,7 @@ function auth_ldap_init () {
             }else {
                 //use defaut value if user_type not set
                 if(!empty($default[$key]['default'])){
-                    $CFG->$key = $default[$key][$value]['default'];
+                    $CFG->$key = $default[$key]['default'];
                 }else {
                     unset($CFG->$key);
                 }