Permalink
Browse files

Fix for bug 3141 - Can't update external data with LDAP authentication

  • Loading branch information...
1 parent 67149b4 commit 2cf2079188866c818d3c91d33aea175afd254502 martinlanghoff committed Oct 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/ldap/lib.php
View
2 auth/ldap/lib.php
@@ -837,7 +837,7 @@ function auth_user_update($olduser, $newuser) {
$ambiguous = true;
$changed = false;
if (!is_array($ldapkeys)) {
- $ldapkeys = $array($ldapkeys);
+ $ldapkeys = array($ldapkeys);
}
if (count($ldapkeys) < 2) {
$ambiguous = false;

0 comments on commit 2cf2079

Please sign in to comment.