Changeset 1850 for trunk/expressoAdmin1_2/inc/class.sosectors.inc.php
- Timestamp:
- 12/16/09 12:35:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.sosectors.inc.php
r1516 r1850 48 48 function write_ldap($dn, $info) 49 49 { 50 if ( ldap_add($this->ldap_connection, $dn, $info))50 if ( @ldap_add($this->ldap_connection, $dn, $info) ) 51 51 { 52 52 $this->db_functions->write_log("write on ldap", "$dn"); … … 56 56 else 57 57 { 58 echo lang('Error written in LDAP, function write_ldap');58 $this->db_functions->write_log("Error write on ldap", "$dn"); 59 59 ldap_close($this->ldap_connection); 60 60 return false;
Note: See TracChangeset
for help on using the changeset viewer.