[TYPO3-core] FYI24: #9522: t3lib_BEfunc::BEenableFields generates invalid SQL
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Oct 9 14:32:11 CEST 2008
Dmitry Dulepov wrote: on 09.10.2008 09:37:
> This is SVN patch request.
>
> Type: bug, trivial
>
> Branches: trunk, 4.1, 4.2
>
> BT reference: http://bugs.typo3.org/view.php?id=9522
>
> Problem: if there are not enable fields for the table, this function
> will generate " AND " string, which is invalid SQL.
> Solution: add "AND" only if generated condition is not empty.
>
> Notes: yes, I thought about compatibility and I do not see any way that
> it can be broken with this patch ;)
+1 for all branches too.
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list