diff --git a/inc/field.class.php b/inc/field.class.php index b94908a3..d8904673 100755 --- a/inc/field.class.php +++ b/inc/field.class.php @@ -908,7 +908,7 @@ static function showSingle($itemtype, $searchOption, $massiveaction = false) { FROM glpi_plugin_fields_fields fields LEFT JOIN glpi_plugin_fields_containers containers ON containers.id = fields.plugin_fields_containers_id - AND containers.itemtypes LIKE '$itemtype' + AND containers.itemtypes LIKE '%$itemtype%' WHERE fields.name = '$cleaned_linkfield'"; $res = $DB->query($query); if ($DB->numrows($res) == 0) {