mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Avoid xml parse error
This commit is contained in:
parent
1af9a9b13f
commit
12c315abbc
@ -537,6 +537,8 @@ class resources_ui
|
||||
}
|
||||
$search_options = array('accessory_of' => -1);
|
||||
|
||||
$sel_options['accessory_of'] = array(-1 => lang('none')) + (array)$this->bo->link_query('',$search_options);
|
||||
|
||||
$content['history'] = array(
|
||||
'id' => $res_id,
|
||||
'app' => 'resources',
|
||||
@ -546,7 +548,6 @@ class resources_ui
|
||||
)
|
||||
);
|
||||
|
||||
$sel_options['accessory_of'] = array(-1 => lang('none')) + (array)$this->bo->link_query('',$search_options);
|
||||
if($res_id) unset($sel_options['accessory_of'][$res_id]);
|
||||
|
||||
// $content['general|page|pictures|links'] = 'resources.edit_tabs.page'; //debug
|
||||
|
Loading…
Reference in New Issue
Block a user