[TYPO3-templavoila] $curVal and drawDataStructureMap_editItem_editTypeExtra()

Christian Welzel gawain at camlann.de
Sat Oct 2 00:12:59 CEST 2010


Am 01.10.2010 23:47, schrieb Christian Welzel:

> Why is the value set to empty and not to the value of eType_EXTRA
> -array? Can someone please fix this?

A simple fix would be this:

if (isset($insertDataArray['tx_templavoila']['TypoScriptObjPath'])){
 $curValue = array('objPath' =>
$insertDataArray['tx_templavoila']['TypoScriptObjPath']);
} else {
 $curValue = $insertDataArray['tx_templavoila']['eType_EXTRA'];
}

-- 
 MfG, Christian Welzel

  GPG-Key:     http://www.camlann.de/de/pgpkey.html
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15


More information about the TYPO3-project-templavoila mailing list