Avoid xml parse error

This commit is contained in:
nathangray 2021-02-25 11:56:40 -07:00
parent 1af9a9b13f
commit 12c315abbc

View File

@ -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