[20899] Bug fix : try to fix the get_member stuff, not sure if this is the right way to do it, but it works
Caeies <[email protected]>
| Newsgroups | gmane.comp.web.phpgroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 20899
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20899
Author: Caeies
Date: 2009-11-25 18:01:34 +0000 (Wed, 25 Nov 2009)
Log Message:
-----------
Bug fix : try to fix the get_member stuff, not sure if this is the right way to do it, but it works
Modified Paths:
--------------
modules/phpgwapi/trunk/inc/accounts/class.accounts_sql.inc.php
Modified: modules/phpgwapi/trunk/inc/accounts/class.accounts_sql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/accounts/class.accounts_sql.inc.php 2009-11-25 17:58:11 UTC (rev 20898)
+++ modules/phpgwapi/trunk/inc/accounts/class.accounts_sql.inc.php 2009-11-25 18:01:34 UTC (rev 20899)
@@ -533,9 +533,8 @@
$sql = 'SELECT phpgw_accounts.account_id'
. ' FROM phpgw_accounts, phpgw_group_map'
- . ' WHERE phpgw_accounts.account_id = phpgw_group_map.group_id'
- . " AND phpgw_group_map.group_id = {$this->account_id}";
-
+ . ' WHERE phpgw_accounts.account_id = phpgw_group_map.account_id'
+ . " AND phpgw_group_map.group_id = {$group_id}";
$this->db->query($sql, __LINE__, __FILE__);
$members = array();