Ignore:
Timestamp:
12/19/12 16:44:18 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Best Practice: Short Open Tag e Best Practice: Always Quote Array Keys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.ldap_functions.inc.php

    r7673 r7681  
    382382                if ($anchor != $dn) 
    383383                { 
    384                         if (!@ldap_rename($this->ldap, $params['anchor'], "uid=$params[uid]", $params['context'], true)) 
     384                        if (!@ldap_rename($this->ldap, $params['anchor'], "uid={$params['uid']}", $params['context'], true)) 
    385385                        { 
    386386                                $result['status'] = false; 
     
    467467                                return $result; 
    468468                        }                                          
    469                         $dn = "uid=$params[uid]," . $params['context']; 
     469                        $dn = "uid={$params['uid']}," . $params['context']; 
    470470                        $filter = "(mail=".$params['mail'].")"; 
    471471                        $justthese = array("cn"); 
Note: See TracChangeset for help on using the changeset viewer.