From 265415030e5ff23242cb646f74e4efac82174498 Mon Sep 17 00:00:00 2001 From: acognet Date: Thu, 2 Jun 2022 12:35:42 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04867=20-=20"Twig=20content=20not=20allow?= =?UTF-8?q?ed"=20error=20when=20use=20the=20extkey=20widget=20search=20ico?= =?UTF-8?q?n=20in=20the=20user=20portal=20-=20Add=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itop-portal-base/portal/src/Form/ObjectFormManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php b/datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php index 5e8d99e16..e4bf72d05 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php +++ b/datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php @@ -91,6 +91,7 @@ class ObjectFormManager extends FormManager * @return array formmanager_data as a PHP array * * @since 2.7.6 3.0.0 N°4384 method creation : factorize as this is used twice now + * @since 2.7.7 3.0.1 only used once but kept */ protected static function DecodeFormManagerData($formManagerData) { @@ -106,14 +107,13 @@ class ObjectFormManager extends FormManager * - formobject_class : The class of the object that is being edited/viewed * - formmode : view|edit|create * - values for parent - * @param bool $bTrustContent if false then won't allow modified TWIG content * * @return \Combodo\iTop\Portal\Form\ObjectFormManager new instance init from JSON data * * @inheritDoc * @throws \Exception - * @throws \SecurityException if twig content is present and $bTrustContent is false - * + * @since 2.7.6 3.0.0 N°4384 new $bTrustContent parameter + * @since 2.7.7 3.0.1 N°4867 remove param $bTrustContent */ public static function FromJSON($sJson) {