Ignore:
Timestamp:
04/27/12 09:17:30 (12 years ago)
Author:
marcosw
Message:

Ticket #2398 - Compatibilizacao com PHP-5.3 em alguns módulos do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.contacts_ldap.inc.php

    r2 r6057  
    324324                        { 
    325325                                if($DEBUG) { echo 'DEBUG - Inbound filter is: #'.$filter.'#'; } 
    326                                 $filterarray = split(',',$filter); 
     326                                $filterarray = preg_split('/,/',$filter); 
    327327                                if($filterarray[1]) 
    328328                                { 
     
    340340                                else 
    341341                                { 
    342                                         list($name,$value) = split('=',$filter); 
     342                                        list($name,$value) = preg_split('/=/',$filter); 
    343343                                        if($DEBUG) 
    344344                                        { 
     
    547547                        elseif($extra) 
    548548                        { 
    549                                 $tmp = split('=',$extra); 
     549                                $tmp = preg_split('/=/',$extra); 
    550550                                $qarray[] = array($tmp[0] => $tmp[1]); 
    551551                        } 
     
    863863 
    864864                                        /* Verify uid */ 
    865                                         $uids = split(',',$dn); 
     865                                        $uids = preg_split('/,/',$dn); 
    866866                                        $stock_fields['lid'] = $uids[0]; 
    867867                                        if(empty($ldap_fields[0]['uid'])) 
Note: See TracChangeset for help on using the changeset viewer.