diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index ff542cda64..83ca186dd5 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -604,12 +604,12 @@ if(!$allValues[0][$key][0]) { /* attribute was not in LDAP, add it */ - ldap_mod_add($this->ds, $allValues[0]["dn"], $tmpentry); + ldap_mod_add($this->ds, $allValues[0]['dn'], $tmpentry); } else { /* attribute was in LDAP, modify it */ - ldap_modify($this->ds, $allValues[0]["dn"], $tmpentry); + ldap_modify($this->ds, $allValues[0]['dn'], $tmpentry); } } } @@ -636,7 +636,7 @@ $tmpentry['phpgwaccounttype'] = $account_info['account_type']; $tmpentry['phpgwaccountexpires'] = $account_info['account_expires']; } - ldap_modify($this->ds, $allValues[0]["dn"], $tmpentry); + ldap_modify($this->ds, $allValues[0]['dn'], $tmpentry); } else { @@ -835,4 +835,4 @@ return $allValues[0]['dn']; } - } \ No newline at end of file + }