mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Fix setting of context in read_single_entry
This commit is contained in:
parent
1bafd75341
commit
c11807d24a
@ -164,6 +164,7 @@
|
|||||||
// send this the id and whatever fields you want to see
|
// send this the id and whatever fields you want to see
|
||||||
function read_single_entry($id,$fields="")
|
function read_single_entry($id,$fields="")
|
||||||
{
|
{
|
||||||
|
global $phpgw_info;
|
||||||
if (!$fields || empty($fields)) { $fields = $this->stock_contact_fields; }
|
if (!$fields || empty($fields)) { $fields = $this->stock_contact_fields; }
|
||||||
list($stock_fields,$stock_fieldnames,$extra_fields) =
|
list($stock_fields,$stock_fieldnames,$extra_fields) =
|
||||||
$this->split_stock_and_extras($fields);
|
$this->split_stock_and_extras($fields);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user