From e79c4b3e6a894cddcfa1f3ae2b9d94357246d0bb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 13 Mar 2008 20:08:37 +0000 Subject: [PATCH] removed left over line, causing name2id to fail and stopping all logins --- phpgwapi/inc/class.accounts_sql.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 12f70130d7..3e08ff3930 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -461,7 +461,6 @@ class accounts_sql $where[] = 'account_id IS NOT NULL'; // otherwise contacts with eg. the same email hide the accounts! } if (!($row = $this->db->select($table,$cols,$where,__LINE__,__FILE__)->fetch())) return false; - if(!$this->db->next_record()) return false; return ($row['account_type'] == 'g' ? -1 : 1) * $row['account_id']; }