[Typo3-dev] bug in class.t3lib_page.php?

Martin Kutschker martin.kutschker at no5pam.blackbox.net
Wed Aug 10 09:48:45 CEST 2005


"Stefan Beylen" <intsys at swissinfo.org> schrieb im Newsbeitrag 
news:mailman.1.1123624546.28852.typo3-dev at lists.netfielders.de...
>
> $GLOBALS['TSFE']->sys_page->getRecordsByField("tx_mytable","my_field","my_value","1=1")
>
> I get an sql error... of course my original query-where-clause is not 
> "1=1"
>
> please tell me if I am wrong or if the func is wrong ;)


Without looking up in the code, but some TYPO3 APIs require you start your 
WHERE clause with an AND.

Masi 






More information about the TYPO3-dev mailing list