forked from extern/egroupware
"fixed not savable empty site configuration 'responsible_edit', once a value was set before"
This commit is contained in:
parent
ced14e2c15
commit
ae33932f0b
@ -1303,9 +1303,10 @@ class infolog_ui
|
|||||||
|
|
||||||
if ($_POST['responsible_edit'])
|
if ($_POST['responsible_edit'])
|
||||||
{
|
{
|
||||||
$extra = array_intersect($_POST['responsible_edit'],array_keys($fields));
|
$extra = array_intersect((array)$_POST['responsible_edit'],array_keys($fields));
|
||||||
config::save_value('responsible_edit',$this->bo->responsible_edit = array_merge($this->bo->responsible_edit,$extra),'infolog');
|
$this->bo->responsible_edit = array_merge($this->bo->responsible_edit,$extra);
|
||||||
}
|
}
|
||||||
|
config::save_value('responsible_edit',$this->bo->responsible_edit,'infolog');
|
||||||
config::save_value('implicit_rights',$this->bo->implicit_rights = $_POST['implicit_rights'] == 'edit' ? 'edit' : 'read','infolog');
|
config::save_value('implicit_rights',$this->bo->implicit_rights = $_POST['implicit_rights'] == 'edit' ? 'edit' : 'read','infolog');
|
||||||
config::save_value('history',$this->bo->history = $_POST['history'],'infolog');
|
config::save_value('history',$this->bo->history = $_POST['history'],'infolog');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user