diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index 2b8024d7a9..e0f56899bb 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -993,7 +993,7 @@ class uicontacts extends bocontacts $content['id'])); // create a new contact with the content of the old 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['created'] = $this->now_su; $content['msg'] = lang('Contact copied');