mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
set to ->db in grab_full_name()
This commit is contained in:
parent
27c0c9125a
commit
073d4f53b9
@ -172,10 +172,12 @@
|
||||
function grab_owner_name($id)
|
||||
{
|
||||
global $phpgw;
|
||||
$phpgw->db->query("select account_lid,account_firstname,account_lastname from accounts where account_id=".$id,__LINE__,__FILE__);
|
||||
$phpgw->db->next_record();
|
||||
|
||||
return $phpgw->common->display_fullname($phpgw->db->f("account_lid"),$phpgw->db->f("account_firstname"),$phpgw->db->f("account_lastname"));
|
||||
$db = $phpgw->db;
|
||||
$db->query("select account_lid,account_firstname,account_lastname from accounts where account_id=".$id,__LINE__,__FILE__);
|
||||
$db->next_record();
|
||||
|
||||
return $phpgw->common->display_fullname($db->f("account_lid"),$db->f("account_firstname"),$db->f("account_lastname"));
|
||||
}
|
||||
|
||||
function create_tabs($tabs, $selected, $fontsize = "")
|
||||
|
Loading…
Reference in New Issue
Block a user