[TYPO3-english] sp_bettercontact in Typo 4.6.x - Form labels not rendered, shows "Array"

Xavier Perseguers xavier at typo3.org
Tue Dec 6 13:33:18 CET 2011


Hi,

> if(is_array($value)) {
> 
>     if(t3lib_div::_GP('L') > 0)
>         $value = $value[0]['source'];
>     else
>         $value = $value[0]['target'];
> 
> }
> 
> $markerArray ['###' . strtoupper ( $key ) . '###'] = $value;

I'd like to say that you should refrain from manipulating the LOCAL_LANG
array yourself, please stick to the official TYPO3 API and you won't
have any problem.

Yes this is now an array with 'source' and 'target' but if you use the
TYPO3 API, it just works as before.

Regards

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-english mailing list