From ac245f6ff7aabfd27ea0b2806d4aa3839ad49dfe Mon Sep 17 00:00:00 2001 From: vdumas Date: Tue, 11 Apr 2023 19:32:12 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05915=20-=20Remove=20Action=20using=20tag?= =?UTF-8?q?set=20widget=20on=20Trigger=20(keep=20only=20the=20opposite)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/trigger.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trigger.class.inc.php b/core/trigger.class.inc.php index 6be01c86a..ae16a9ca0 100644 --- a/core/trigger.class.inc.php +++ b/core/trigger.class.inc.php @@ -48,7 +48,7 @@ abstract class Trigger extends cmdbAbstractObject //MetaModel::Init_InheritAttributes(); MetaModel::Init_AddAttribute(new AttributeString("description", array("allowed_values" => null, "sql" => "description", "default_value" => null, "is_null_allowed" => false, "depends_on" => array()))); MetaModel::Init_AddAttribute(new AttributeLinkedSetIndirect("action_list", - array("linked_class" => "lnkTriggerAction", "ext_key_to_me" => "trigger_id", "ext_key_to_remote" => "action_id", "allowed_values" => null, "count_min" => 1, "count_max" => 0, "depends_on" => array(), "display_style" => 'property'))); + array("linked_class" => "lnkTriggerAction", "ext_key_to_me" => "trigger_id", "ext_key_to_remote" => "action_id", "allowed_values" => null, "count_min" => 1, "count_max" => 0, "depends_on" => array()))); $aTags = ContextTag::GetTags(); MetaModel::Init_AddAttribute( new AttributeEnumSet("context", array("allowed_values" => null, "possible_values" => new ValueSetEnumPadded($aTags), "sql" => "context", "depends_on" => array(), "is_null_allowed" => true, "max_items" => 12)));