[TYPO3-core] GeneralUtility::inList() and spaces
François Suter
fsu-lists at cobweb.ch
Wed Jul 10 13:28:41 CEST 2013
Hi bernd,
> return strpos(',' . str_replace(' ', '', $list) . ',', ',' . $item .
> ',') !== FALSE ? TRUE : FALSE;
Good suggestion. It should not be very costly to do so.
> otherwise you have to ensure that all lists written are 'de-spaced'.
Exactly the current problem. I'll make a patch with your suggestion.
Cheers
--
Francois Suter
Work: Cobweb Development Sarl - http://www.cobweb.ch
TYPO3: Help the project! - http://typo3.org/contribute/
Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/
More information about the TYPO3-team-core
mailing list