mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Fix setting of context in delete and update - very important
This commit is contained in:
parent
c11807d24a
commit
8e2baeb263
@ -521,6 +521,7 @@
|
||||
|
||||
function update($id,$owner,$fields)
|
||||
{
|
||||
global $phpgw_info;
|
||||
// First make sure that id number exists
|
||||
$sri = ldap_search($this->ldap, $phpgw_info["server"]["ldap_contact_context"], "uidnumber=".$id);
|
||||
$ldap_fields = ldap_get_entries($this->ldap, $sri);
|
||||
@ -553,6 +554,7 @@
|
||||
// This is where the real work of delete() is done, shared class file contains calling function
|
||||
function delete_($id)
|
||||
{
|
||||
global $phpgw_info;
|
||||
$sri = ldap_search($this->ldap, $phpgw_info["server"]["ldap_contact_context"], "uidnumber=".$id);
|
||||
$ldap_fields = ldap_get_entries($this->ldap, $sri);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user