From 8072930632612c71bcba2c6debe38b6fae5af0fe Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 8 Jul 2006 21:41:42 +0000 Subject: [PATCH] write only for contact-repository sql-ldap, but not for sql and account in ldap --- phpgwapi/inc/class.accounts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index bdb45d464a..4ed937a189 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -302,7 +302,7 @@ class accounts extends accounts_backend { // if we are not on a pure LDAP system, we have to write the account-date via the contacts class now if (($GLOBALS['egw_info']['server']['account_repository'] != 'ldap' || - $GLOBALS['egw_info']['server']['contact_repository'] != 'ldap') && + $GLOBALS['egw_info']['server']['contact_repository'] == 'sql-ldap') && (!($old = $this->read($data['account_id'])) || // only for new account or changed contact-data $old['account_firstname'] != $data['account_firstname'] || $old['account_lastname'] != $data['account_lastname'] ||