diff --git a/resources/inc/class.resources_ui.inc.php b/resources/inc/class.resources_ui.inc.php index 9484d58cf5..34581bb7f2 100755 --- a/resources/inc/class.resources_ui.inc.php +++ b/resources/inc/class.resources_ui.inc.php @@ -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