forked from extern/egroupware
Add ability for HR to set tid
This commit is contained in:
parent
e2afce4073
commit
cbd9cbadc8
@ -60,7 +60,10 @@
|
|||||||
$addnew['note'] .= "\nCopied from ".$phpgw->accounts->id2name($addnew['owner']).", record #".$addnew['id'].".";
|
$addnew['note'] .= "\nCopied from ".$phpgw->accounts->id2name($addnew['owner']).", record #".$addnew['id'].".";
|
||||||
$addnew['owner'] = $phpgw_info["user"]["account_id"];
|
$addnew['owner'] = $phpgw_info["user"]["account_id"];
|
||||||
$addnew['id'] = '';
|
$addnew['id'] = '';
|
||||||
addressbook_add_entry($addnew['owner'],$addnew);
|
|
||||||
|
if ($account=True) { addressbook_add_entry($addnew['owner'],$addnew,'','',True); }
|
||||||
|
else { addressbook_add_entry($addnew['owner'],$addnew); }
|
||||||
|
|
||||||
$fields = addressbook_read_last_entry($qfields);
|
$fields = addressbook_read_last_entry($qfields);
|
||||||
$newid = $fields[0]['id'];
|
$newid = $fields[0]['id'];
|
||||||
Header("Location: "
|
Header("Location: "
|
||||||
|
Loading…
Reference in New Issue
Block a user