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

Stefan Beylen intsys at swissinfo.org
Tue Aug 9 23:50:37 CEST 2005


good evening,

as no one else is complaining about this I am wondering if its just me 
who is having this problem...

class: class.t3lib_page.php
function 
getRecordsByField($theTable,$theField,$theValue,$whereClause='',$groupBy='',$orderBy='',$limit='')

if I make this query in my FE Ext:

$GLOBALS['TSFE']->sys_page->getRecordsByField("tx_mytable","my_field","my_value")

it is returned as expected, but when I make this one:

$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 ;)

thx




More information about the TYPO3-dev mailing list