From b793cded34ad72e2aaa13a4ade59ea2dac0b2223 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Fri, 25 Nov 2016 16:37:31 +0000 Subject: [PATCH] N.527 Enable the template placeholders for AttributeCustomFields SVN:trunk[4481] --- core/ormcustomfieldsvalue.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ormcustomfieldsvalue.class.inc.php b/core/ormcustomfieldsvalue.class.inc.php index ad58e7f6c..0b896999d 100644 --- a/core/ormcustomfieldsvalue.class.inc.php +++ b/core/ormcustomfieldsvalue.class.inc.php @@ -87,7 +87,7 @@ class ormCustomFieldsValue { $oAttDef = MetaModel::GetAttributeDef(get_class($this->oHostObject), $this->sAttCode); $oHandler = $oAttDef->GetHandler($this->GetValues()); - return 'template...verb='.$sVerb.' sur "'.json_encode($this->aCurrentValues).'"'; + return $oHandler->GetForTemplate($this->aCurrentValues, $sVerb, $bLocalize); } /**