From: <ral...@us...> - 2006-04-30 12:18:50
|
Update of /cvsroot/egroupware/phpgwapi/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28095 Modified Files: class.accounts_sql.inc.php Log Message: fixed critical bug: a too long account-lid caused the complete lost of run-rigths from all user and groups Index: class.accounts_sql.inc.php =================================================================== RCS file: /cvsroot/egroupware/phpgwapi/inc/class.accounts_sql.inc.php,v retrieving revision 1.128 retrieving revision 1.129 diff -C2 -d -r1.128 -r1.129 *** class.accounts_sql.inc.php 25 Apr 2006 12:44:40 -0000 1.128 --- class.accounts_sql.inc.php 30 Apr 2006 12:18:47 -0000 1.129 *************** *** 314,319 **** $account_data['account_id'] = abs($account_info['account_id']); } ! $this->db->insert($this->table,$account_data,False,__LINE__,__FILE__); ! $id = $account_data['account_id'] ? $account_data['account_id'] : $this->db->get_last_insert_id($this->table,'account_id'); --- 314,321 ---- $account_data['account_id'] = abs($account_info['account_id']); } ! if (!$this->db->insert($this->table,$account_data,False,__LINE__,__FILE__)) ! { ! return false; ! } $id = $account_data['account_id'] ? $account_data['account_id'] : $this->db->get_last_insert_id($this->table,'account_id'); |