mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fix for not set default addressbook preference on copy
This commit is contained in:
parent
dae2c126df
commit
7eec77c451
@ -993,7 +993,7 @@ class uicontacts extends bocontacts
|
|||||||
$content['id']));
|
$content['id']));
|
||||||
// create a new contact with the content of the old
|
// create a new contact with the content of the old
|
||||||
foreach(array('id','modified','modifier') as $key) unset($content[$key]);
|
foreach(array('id','modified','modifier') as $key) unset($content[$key]);
|
||||||
$content['owner'] = $this->prefs['add_default'];
|
$content['owner'] = $this->prefs['add_default'] ? $this->prefs['add_default'] : $this->user;
|
||||||
$content['creator'] = $this->user;
|
$content['creator'] = $this->user;
|
||||||
$content['created'] = $this->now_su;
|
$content['created'] = $this->now_su;
|
||||||
$content['msg'] = lang('Contact copied');
|
$content['msg'] = lang('Contact copied');
|
||||||
|
Loading…
Reference in New Issue
Block a user