diff --git a/include/class/tag_action.class.php b/include/class/tag_action.class.php index 5ae621a8e..cef954309 100644 --- a/include/class/tag_action.class.php +++ b/include/class/tag_action.class.php @@ -87,12 +87,13 @@ class Tag_Action extends Tag /** * let select a tag to add to the search */ - function select_search($p_prefix) + function select_search($p_prefix,$title=true) { $res=""; $ret=$this->get_data()->seek(' order by t_tag'); require_once NOALYSS_TEMPLATE.'/tag_search_select.php'; - return HtmlInput::title_box('Tag', $p_prefix.'tag_div').$res; + if ($title) return HtmlInput::title_box('Tag', $p_prefix.'tag_div').$res; + else return $res; } }