From 0efaf47325196ed55e47d60d48db6ae5d100b24c Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 18 Aug 2022 09:24:52 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04910=20-=20Improve=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/cmdbchangeop.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cmdbchangeop.class.inc.php b/core/cmdbchangeop.class.inc.php index 537ca8d00..0d43f0856 100644 --- a/core/cmdbchangeop.class.inc.php +++ b/core/cmdbchangeop.class.inc.php @@ -361,7 +361,7 @@ class CMDBChangeOpSetAttributeURL extends CMDBChangeOpSetAttribute ); MetaModel::Init_Params($aParams); MetaModel::Init_InheritAttributes(); - //old value can have an old validation pattern -> force it to anything + // N°4910 Old value might not comply with the current validation pattern -> force it to anything MetaModel::Init_AddAttribute(new AttributeURL("oldvalue", array("allowed_values"=>null, "sql"=>"oldvalue", "target" => '_blank', "default_value"=>null, "is_null_allowed"=>true, "depends_on"=>array(), "validation_pattern" => '.*'))); MetaModel::Init_AddAttribute(new AttributeURL("newvalue", array("allowed_values"=>null, "sql"=>"newvalue", "target" => '_blank', "default_value"=>null, "is_null_allowed"=>true, "depends_on"=>array())));