mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
fix bug regarding the default of info_status
This commit is contained in:
parent
5fae37c880
commit
047f07a8da
@ -1716,7 +1716,7 @@ class infolog_ui
|
||||
$types = $this->get_validtypes();
|
||||
$typekeys = array_keys($types);
|
||||
if (!isset($content['info_type'])) $content['info_type'] = $typekeys[0];
|
||||
if (!isset($content['info_status'])) $this->bo->status[$content['info_type']];
|
||||
if (!isset($content['info_status'])) $content['info_status'] = $this->bo->status['defaults'][$content['info_type']];
|
||||
if (!isset($content['info_cat'])) $content['info_cat'] = $this->prefs['cat_add_default'];
|
||||
// Get links to be copied
|
||||
$content['link_to']['to_id'] = egw_link::get_links($content['link_to']['to_app'], $content['link_to']['to_id']);
|
||||
|
Loading…
Reference in New Issue
Block a user