Changeset 7673 for trunk/listAdmin/inc/class.ldap_functions.inc.php
- Timestamp:
- 12/18/12 16:15:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/listAdmin/inc/class.ldap_functions.inc.php
r7655 r7673 746 746 $entry[0]['dn'] = strtolower($entry[0]['dn']); 747 747 $sector_dn_array = explode(",", $entry[0]['dn']); 748 for($i=1; $i<count($sector_dn_array); ++$i) 748 $sector_dn_array_count = count($sector_dn_array); 749 for($i=1; $i<$sector_dn_array_count; ++$i) 749 750 $sector_dn .= $sector_dn_array[$i] . ','; 750 751 //Retira ultimo pipe. … … 844 845 $entry[0]['dn'] = strtolower($entry[0]['dn']); 845 846 $sector_dn_array = explode(",", $entry[0]['dn']); 846 for($i=1; $i<count($sector_dn_array); ++$i) 847 $sector_dn_array_count = count($sector_dn_array); 848 for($i=1; $i<$sector_dn_array_count; ++$i) 847 849 $sector_dn .= $sector_dn_array[$i] . ','; 848 850 //Retira ultimo pipe. … … 925 927 $entry[0]['dn'] = strtolower($entry[0]['dn']); 926 928 $sector_dn_array = explode(",", $entry[0]['dn']); 927 for($i=1; $i<count($sector_dn_array); ++$i) 929 $sector_dn_array_count = count($sector_dn_array); 930 for($i=1; $i<$sector_dn_array_count; ++$i) 928 931 $sector_dn .= $sector_dn_array[$i] . ','; 929 932 //Retira ultimo pipe. … … 1006 1009 $entry[0]['dn'] = strtolower($entry[0]['dn']); 1007 1010 $sector_dn_array = explode(",", $entry[0]['dn']); 1008 for($i=1; $i<count($sector_dn_array); ++$i) 1011 $sector_dn_array_count = count($sector_dn_array); 1012 for($i=1; $i<$sector_dn_array_count; ++$i) 1009 1013 $sector_dn .= $sector_dn_array[$i] . ','; 1010 1014 //Retira ultimo pipe. … … 1086 1090 $entry[0]['dn'] = strtolower($entry[0]['dn']); 1087 1091 $sector_dn_array = explode(",", $entry[0]['dn']); 1088 for($i=1; $i<count($sector_dn_array); ++$i) 1092 $sector_dn_array_count = count($sector_dn_array); 1093 for($i=1; $i<$sector_dn_array_count; ++$i) 1089 1094 $sector_dn .= $sector_dn_array[$i] . ','; 1090 1095 //Retira ultimo pipe.
Note: See TracChangeset
for help on using the changeset viewer.