[TYPO3-dev] TCA in loop doesn't work

Christoph christoph.koehler at gmail.com
Mon Jan 2 22:50:14 CET 2006


Hello all,

we got the problem figured out. The array was 'damaged'. I was reading a  
list of values from TS setup, and it had whitespace in it. When I exploded  
it into an array, the values weren't the fields, but rather ' field' with  
a blank space in front of the name, so the type couldn't be found.
Instead of explode, I now use t3lib_div :: trimExplode and it works nicely.

Thanks, I hope this will help someone later...

Christoph





More information about the TYPO3-dev mailing list