From f63a01ce6b7c3b69fd697ad651cc8eaf6b784568 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 10 Mar 2001 00:17:32 +0000 Subject: [PATCH] Change back the setting of account_id also --- phpgwapi/inc/class.accounts_shared.inc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.accounts_shared.inc.php b/phpgwapi/inc/class.accounts_shared.inc.php index c04a258fd8..7781e7b0c1 100644 --- a/phpgwapi/inc/class.accounts_shared.inc.php +++ b/phpgwapi/inc/class.accounts_shared.inc.php @@ -35,10 +35,9 @@ { global $phpgw, $phpgw_info; - $this->db = $phpgw->db; + $this->db = $phpgw->db; - if (! isset($account_id)) - { + if ($account_id != False) { $this->account_id = $account_id; } } @@ -124,4 +123,4 @@ return $this->members; } } -?> \ No newline at end of file +?>