[TYPO3-core] RFC #11917: TCEforms suggest fails with empty label or label_alt field

Rupert Germann rupi at gmx.li
Fri Sep 11 14:39:50 CEST 2009


hi Andreas,

Andreas Wolf schrieb:
...
> Solution:
> 
> Check for empty field names.

or prevent empty fields by using trimExplode() with $removeEmptyValues 
activated. see attached patch v2.
since trimExplode is used anyways this seems to be the more elegant 
solution.

> The attached patch also fixes a problem with operator precedence in SQL
> if more than one field is queried for the query string.

great.

greets
rupert




More information about the TYPO3-team-core mailing list