Переглянути джерело

N.527 Enable the template placeholders for AttributeCustomFields

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4481 a333f486-631f-4898-b8df-5754b55c2be0
romainq 8 роки тому
батько
коміт
8c584eb40f
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      core/ormcustomfieldsvalue.class.inc.php

+ 1 - 1
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);
 	}
 
 	/**