From ac75c349b8c011bfeff3204f0779df1c725316ae Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Mar 2010 08:48:58 +0000 Subject: [PATCH] "calling split_accounts with 'merge' it type is NOT either 'accounts' or 'groups'" --- 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 c73c367508..9f8884429b 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -290,7 +290,7 @@ class accounts if ($app) { // we want the result merged, whatever it takes, as we only care for the ids - $valid = $this->split_accounts($app,'merge');//$param['type'] == 'both' ? 'merge' : $param['type']); + $valid = $this->split_accounts($app,!in_array($param['type'],array('accounts','groups')) ? 'merge' : $param['type']); } if ($group) {