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

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Aug 27 10:04:50 CEST 2010


Hi,

+1 on reading and testing. Works. Thanks!

Commited to
- trunk (rev. 8701 for 4.5alpha2)
- 4.4 (rev. 8702, for 4.4.3)
- 4.3 (rev. 8703, for 4.3.5)

Cheers,
Ernesto

Markus Klein schrieb am 27.08.2010 09:25:
> +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