Fix setting of context in read_single_entry

This commit is contained in:
Miles Lott 2001-03-22 02:50:14 +00:00
parent 1bafd75341
commit c11807d24a

View File

@ -164,6 +164,7 @@
// send this the id and whatever fields you want to see
function read_single_entry($id,$fields="")
{
global $phpgw_info;
if (!$fields || empty($fields)) { $fields = $this->stock_contact_fields; }
list($stock_fields,$stock_fieldnames,$extra_fields) =
$this->split_stock_and_extras($fields);