From f894656d870999098ccb3c0a666d32dbe583da75 Mon Sep 17 00:00:00 2001 From: Vanessa Gil Date: Mon, 6 Apr 2015 15:26:26 +0200 Subject: [PATCH] Fixed bug #2062 --- pandora_console/operation/events/events.build_query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/events/events.build_query.php b/pandora_console/operation/events/events.build_query.php index 0c88c4a1c6..441cd5da9e 100644 --- a/pandora_console/operation/events/events.build_query.php +++ b/pandora_console/operation/events/events.build_query.php @@ -169,7 +169,7 @@ if (!empty($tag_with)) { foreach ($tag_with as $id_tag) { if ($first) $first = false; else $sql_post .= " OR "; - $sql_post .= "tags = '" . tags_get_name($id_tag) . "'"; + $sql_post .= "tags LIKE ('%" . tags_get_name($id_tag) . "%')"; } $sql_post .= ' ) '; }