From f43666dcb76e56416b9d045b1242292eabcd34bd Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 19 Nov 2022 18:28:07 +0100 Subject: [PATCH] To let TOOLS plugin to add tag to operation --- include/class/tag_action.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } }