Commit 0f51f59801aba04f0437b64d196b299e8eb60102

Authored by michael
1 parent 752672cf

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