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 +?>