Commit cbdf00d7391210ccc1f11fa48fd79349c4b1eb77

Authored by Michael Joseph
1 parent c494748a

loop counter conflict resolved


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@95 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 2 deletions
lib/class.AuthLdap.php
@@ -376,8 +376,8 @@ class AuthLdap { @@ -376,8 +376,8 @@ class AuthLdap {
376 $uname = $info[$i]["uid"][0]; 376 $uname = $info[$i]["uid"][0];
377 // add to the array for each attribute in my list 377 // add to the array for each attribute in my list
378 // add to the array for each attribute in my list 378 // add to the array for each attribute in my list
379 - for ( $i = 0; $i < count( $attributeArray); $i++) {  
380 - $userslist["$uname"]["$attributeArray[$i]"] = $info[$i][strtolower($attributeArray[$i])][0]; 379 + for ( $j = 0; $j < count( $attributeArray); $j++) {
  380 + $userslist["$uname"]["$attributeArray[$j]"] = $info[$i][strtolower($attributeArray[$j])][0];
381 } 381 }
382 } 382 }
383 383