From 5d30855ed148257389012e92454d045575a97c5f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 21 Jun 2006 23:13:37 +0000 Subject: [PATCH] - fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook) - invalidate the cache of the accounts-class if contact-data of an account get changed --- phpgwapi/inc/class.accounts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 92bffa61a9..2c38da547f 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -208,7 +208,7 @@ class accounts_backend 'id' => $data['person_id'], 'owner' => 0, ); - $GLOBALS['egw']->contacts->save($contact); + $GLOBALS['egw']->contacts->save($contact,true); // true = ignore addressbook acl return $data['account_id']; }