mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
"fixed not savable empty site configuration 'responsible_edit', once a value was set before"
This commit is contained in:
parent
1423948060
commit
08aa2d4606
@ -1282,9 +1282,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