Changeset 5318 for trunk/services


Ignore:
Timestamp:
01/06/12 10:56:52 (12 years ago)
Author:
cristiano
Message:

Ticket #2424 - Mensagem alterando o layout do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/class.ldap.php

    r5130 r5318  
    349349                         $returnL = ldap_get_entries( $this->connection,$sr);  
    350350                         $return = array();  
    351                          foreach ($returnL[0]['mailalternateaddress'] as $i => $v)  
    352                          {  
    353                              if($i === 'count') continue;  
    354                              $return[] = $v;  
    355                          }  
     351                         if(is_array($returnL[0]['mailalternateaddress'])) 
     352                             foreach ($returnL[0]['mailalternateaddress'] as $i => $v)  
     353                             {  
     354                                 if($i === 'count') continue;  
     355                                 $return[] = $v;  
     356                             }  
    356357                         return $return;  
    357358                    }  
Note: See TracChangeset for help on using the changeset viewer.