Changeset 7655 for trunk/jabberit_messenger/inc/class.contacts_im.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/inc/class.contacts_im.inc.php
r3530 r7655 93 93 if( is_array($users) ) 94 94 { 95 for($i = 0; $i < count($users); $i++)95 for($i = 0; $i < count($users); ++$i) 96 96 { 97 97 if( is_array($hostsJabber) ) … … 226 226 $_restrict = array(); 227 227 228 for( $i = 0 ; $i < count($orgs) ; $i++)229 { 230 for( $j = 0 ; $j < count($array_uids) ; $j++)228 for( $i = 0 ; $i < count($orgs) ; ++$i ) 229 { 230 for( $j = 0 ; $j < count($array_uids) ; ++$j ) 231 231 { 232 232 if( trim($array_uids[$j]['ou']) === trim($orgs[$i]) ) … … 248 248 { 249 249 $result = array(); 250 for($i = $offset; $i< strlen($haystack); $i++)250 for($i = $offset; $i< strlen($haystack); ++$i ) 251 251 { 252 252 $pos = strpos($haystack,$needle,$i); … … 332 332 $orgs = array(); 333 333 334 for( $i = 0 ; $i < count($posAll); $i++)334 for( $i = 0 ; $i < count($posAll); ++$i ) 335 335 { 336 336 $pos = strpos($ou_User, ","); … … 370 370 $orgs = array(); 371 371 372 for( $i = 0 ; $i < count($posAll); $i++)372 for( $i = 0 ; $i < count($posAll); ++$i ) 373 373 { 374 374 $pos = strpos($ou_User, ",");
Note: See TracChangeset
for help on using the changeset viewer.