* Allow for multiple regular profile attributes in a user entry.
* Allow for normal ldap user attributes to be utf8 encoded instead of ascii. Changing attribute values through
user_info will not work in that case.
+* Fix a small bug in lib/ldap/defaults.php3. We should not be using $i in a for() loop but a new variable
Ver 1.59:
* Small html fixes in user_edit.php3 and password.php3
* Show number of failed logins in the last 7 days in the user admin page
if (!isset($default_vals["$key"]))
$default_vals["$key"] = array();
if ($attrmap[generic]["$key"] == 'generic'){
- for($i=0;$i<$info2[0]["$val"][count];$i++)
- $default_vals["$key"][] = $info2[0]["$val"][$i];
+ for($j=0;$j<$info2[0]["$val"][count];$j++)
+ $default_vals["$key"][] = $info2[0]["$val"][$j];
$default_vals["$key"][count] += $info2[0]["$val"][count];
}
else