mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Make vcardout use functions for reading entry
This commit is contained in:
parent
a3e18e5064
commit
7d2d4c7658
@ -32,7 +32,7 @@
|
||||
if ($filter != "private")
|
||||
//$filtermethod = " or ab_access='public' " . $phpgw->accounts->sql_search("ab_access");
|
||||
|
||||
$fields = $this->read_single_entry($ab_id,$this->stock_contact_fields);
|
||||
$fields = addressbook_read_entry($ab_id,$this->stock_contact_fields);
|
||||
|
||||
$rights = $phpgw->acl->get_rights($fields[0]["owner"],$phpgw_info["flags"]["currentapp"]);
|
||||
if ( ($rights & PHPGW_ACL_READ) || ($fields[0]["owner"] == $phpgw_info["user"]["account_id"]) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user