[TYPO3-core] GeneralUtility::inList() and spaces

François Suter fsu-lists at cobweb.ch
Wed Jul 10 13:39:09 CEST 2013


Hi,

> Of course you're right Xavier.
> I only thought in terms of database fields, but this is of course a multipurpose function hence this would be breaking.
>
> I fear we're back to the start again.:-(

I just chatted with Xavier.

After turning the thing around, he suggested to simply make the 
str_replace suggested by Bernd at the place where requestUpdate is 
handled and not inside inList.

In this case, it is okay, since spaces cannot be expected inside 
requestUpdate (as it is a list of TCA fields, no spaces in the names).

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