- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/jmessenger/inc/class.ContactsIm.inc.php
r3406 r7655 70 70 if( is_array($users) ) 71 71 { 72 for($i = 0; $i < count($users); $i++)72 for($i = 0; $i < count($users); ++$i) 73 73 { 74 74 if( is_array($hostsJabber) ) … … 204 204 $_restrict = array(); 205 205 206 for( $i = 0 ; $i < count($orgs) ; $i++)207 { 208 for( $j = 0 ; $j < count($array_uids) ; $j++)206 for( $i = 0 ; $i < count($orgs) ; ++$i ) 207 { 208 for( $j = 0 ; $j < count($array_uids) ; ++$j ) 209 209 { 210 210 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.