mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 05:12:25 +01:00
removed left over line, causing name2id to fail and stopping all logins
This commit is contained in:
parent
37a12ac183
commit
e79c4b3e6a
@ -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'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user