mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fixed missing owner
This commit is contained in:
parent
d34c216f52
commit
f9a8f55065
@ -573,7 +573,8 @@ class addressbook_groupdav extends groupdav_handler
|
||||
function save_group(array &$contact, $oldContact=null)
|
||||
{
|
||||
$data = array('list_name' => $contact['n_fn']);
|
||||
foreach(array('id','carddav_name','uid') as $name)
|
||||
if (!isset($contact['owner'])) $contact['owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||
foreach(array('id','carddav_name','uid','owner') as $name)
|
||||
{
|
||||
if ($name != self::$path_attr) $data['list_'.$name] = $contact[$name];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user