Bug : filter of the search and tag

This commit is contained in:
sparkyx 2021-03-10 09:32:54 +01:00
parent ec47e9cdf3
commit 1ca321a1b5
2 changed files with 2 additions and 0 deletions

View file

@ -213,6 +213,7 @@ if ($op=="delete_search_operation")
if ($op=='display_filter_tag')
{
$tag=$http->request("uf_tag");
if ( trim($tag)=="") {return;}
$div=$http->request("div");
$aTag=explode(',', $tag);
if (is_array($aTag))

View file

@ -25,6 +25,7 @@ class Tag
function __construct($p_cn,$id=-1)
{
$this->cn=$p_cn;
$id = (trim($id)=="")?-1:$id;
$this->data=new Tag_SQL($p_cn,$id);
}
public function get_data()