[TYPO3-core] RFC #1728: Bug: Comma separated list DON'T accept spaces at "db_layout"

Markus Klein m.klein at mfc-linz.at
Fri Aug 27 09:25:32 CEST 2010


+1 on reading. (no-brainer)

regards
Markus

> 
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=1728
> 
> Branches:
> trunk & maybe others (Bug is from 2005)
> 
> Problem:
>  Support for custom tables in the Page module fails if you use spaces
> between the comma separated list. At
> sysext/cms/layout/class.tx_cms_layout.php, the function
> "makeOrdinaryList" fails to trim the setting at
> $TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables']['tablename
> '][0]['fList'].
> 
> Solution:
> Use t3lib_div::trimExplode() instead of explode().



More information about the TYPO3-team-core mailing list