mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fix get_account_name to make acls working correctly again
This commit is contained in:
parent
63819d4dd7
commit
9f8740113a
@ -393,7 +393,7 @@
|
||||
function get_account_name($accountid,&$lid,&$fname,&$lname)
|
||||
{
|
||||
$db = $GLOBALS['phpgw']->db;
|
||||
$db->query('SELECT account_lid,account_firstname,account_lastname FROM phpgw_accounts WHERE account_id=' . (int)$account_id,__LINE__,__FILE__);
|
||||
$db->query('SELECT account_lid,account_firstname,account_lastname FROM phpgw_accounts WHERE account_id=' . (int)$accountid,__LINE__,__FILE__);
|
||||
if (!$db->next_record())
|
||||
{
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user