Add $tid to add routine

This commit is contained in:
Miles Lott 2001-03-27 13:11:23 +00:00
parent b338cf4cf4
commit 73259969c4

View File

@ -170,10 +170,10 @@
}
}
function addressbook_add_entry($userid,$fields,$access='',$cat_id='') {
function addressbook_add_entry($userid,$fields,$access='',$cat_id='',$tid='n') {
global $this,$rights;
if ($rights & PHPGW_ACL_ADD) {
$this->add($userid,$fields,$access,$cat_id);
$this->add($userid,$fields,$access,$cat_id,$tid);
}
return;
}