mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed missing owner
This commit is contained in:
parent
baf8999392
commit
b0d47bd7d5
@ -572,7 +572,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