- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.bo_global_ldap_catalog.inc.php
r5399 r7655 194 194 195 195 $rEntry = ldap_first_entry( $ldap, $result_r ); 196 for ( $iCurrent = 0; $iCurrent < $iEnd ; $iCurrent++)196 for ( $iCurrent = 0; $iCurrent < $iEnd ;++$iCurrent) 197 197 { 198 198 … … 262 262 263 263 $rEntry = ldap_first_entry( $ldap, $result_r ); 264 for ( $iCurrent = 0; $iCurrent < $iEnd ; $iCurrent++)264 for ( $iCurrent = 0; $iCurrent < $iEnd ;++$iCurrent) 265 265 { 266 266 … … 769 769 $contact_data['relations']['relation'.$i]['type'] = $l_type; 770 770 $contact_data['relations']['relation'.$i]['names_ordered'] = utf8_decode($contact[$l_type_fields[0]][0]); 771 $i++;771 ++$i; 772 772 } 773 773 } … … 818 818 $contact_data['addresses']['address'.$i]['type'] = $l_type; 819 819 $contact_data['addresses']['address'.$i][$l_field] = utf8_decode($contact[$l_type_fields[0]][0]); 820 $i++;820 ++$i; 821 821 } 822 822 } … … 872 872 $contact_data['connections']['connection'.$i]['type'] = $l_type; 873 873 $contact_data['connections']['connection'.$i][$l_field] = utf8_decode($contact[$l_type_fields[0]][0]); 874 $i++;874 ++$i; 875 875 } 876 876 } … … 1096 1096 $contact_data['relations']['relation'.$i]['type'] = $l_type; 1097 1097 $contact_data['relations']['relation'.$i]['names_ordered'] = utf8_decode($contact[$l_type_fields[0]][0]); 1098 $i++;1098 ++$i; 1099 1099 } 1100 1100 } … … 1145 1145 $contact_data['addresses']['address'.$i]['type'] = $l_type; 1146 1146 $contact_data['addresses']['address'.$i][$l_field] = utf8_decode($contact[$l_type_fields[0]][0]); 1147 $i++;1147 ++$i; 1148 1148 } 1149 1149 } … … 1200 1200 $contact_data['connections']['connection'.$i]['type'] = $l_type; 1201 1201 $contact_data['connections']['connection'.$i][$l_field] = utf8_decode($contact[$l_type_fields[0]][0]); 1202 $i++;1202 ++$i; 1203 1203 } 1204 1204 } … … 1360 1360 { 1361 1361 $filter = '(&(objectClass='.$this->src_info['obj'] . ')(|'; 1362 for ($i = 0; $i < $size; $i++)1362 for ($i = 0; $i < $size; ++$i) 1363 1363 { 1364 1364
Note: See TracChangeset
for help on using the changeset viewer.