[TYPO3-core] FYI24: #9522: t3lib_BEfunc::BEenableFields generates invalid SQL
Steffen Kamper
info at sk-typo3.de
Thu Oct 9 09:42:21 CEST 2008
Hi,
Dmitry Dulepov schrieb:
> Hi!
>
> 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.
>
+1 for all branches for this nobrainer
> Notes: yes, I thought about compatibility and I do not see any way that
> it can be broken with this patch ;)
>
right, it's a bugfix.
vg Steffen
More information about the TYPO3-team-core
mailing list