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

Niels Pardon typo3_lists at niels-pardon.de
Fri Aug 27 09:11:51 CEST 2010


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().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1728_TYPO3_trunk.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100827/f60d01a4/attachment.bin>


More information about the TYPO3-team-core mailing list