forked from extern/egroupware
- fixed bug: editing infolog >> site config deletes custom fields
- fixed warning if nothing checked in responsible edit
This commit is contained in:
parent
12c26c3bb9
commit
6af96f76af
@ -961,11 +961,11 @@
|
||||
$this->bo->responsible_edit = array_merge($this->bo->responsible_edit,$extra);
|
||||
}
|
||||
$this->bo->implicit_rights = $_POST['implicit_rights'] == 'edit' ? 'edit' : 'read';
|
||||
$this->bo->config->config_data = array(
|
||||
$this->bo->config->config_data += array( // only "adding" the changed items, to not delete other config like custom fields
|
||||
'link_pathes' => $this->link_pathes,
|
||||
'send_file_ips' => $this->bo->send_file_ips,
|
||||
'implicit_rights' => $this->bo->implicit_rights,
|
||||
'responsible_edit' => implode(',',$extra),
|
||||
'responsible_edit' => is_array($extra) ? implode(',',$extra) : $extra,
|
||||
);
|
||||
$this->bo->config->save_repository(True);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user