From c11807d24af400bc2532e72012e6c03c493b3f1f Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 22 Mar 2001 02:50:14 +0000 Subject: [PATCH] Fix setting of context in read_single_entry --- addressbook/inc/class.contacts_ldap.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/addressbook/inc/class.contacts_ldap.inc.php b/addressbook/inc/class.contacts_ldap.inc.php index 37d142b2fd..e71789a531 100644 --- a/addressbook/inc/class.contacts_ldap.inc.php +++ b/addressbook/inc/class.contacts_ldap.inc.php @@ -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);