[TYPO3-core] Nested fe_groups patch

Michael Stucki michael at typo3.org
Sun Sep 18 20:37:45 CEST 2005


done.

Jan-Erik Revsbech wrote:

>> Insted of these lines
>> 
>> +    $orChecks[]='('.$field.' LIKE "%,'.$value.',%" OR '.
>> +        $field.' LIKE "'.$value.',%" OR '.
>> +        $field.' LIKE "%,'.$value.'" OR '.
>> +        $field.'="'.$value.'")';
>> 
>> I would suggest using the function
>> $GLOBALS['TSFE']->listQuery($FIELD,$VALUE,$TABLE), as this is DBAL
> 
> Sorry, i meant $GLOBALS['TYPO3_DB']->listQuery($FIELD,$VALUE,$TABLE)
> 
>> compliant.
>> 
>> /Jan-Erik
> /mailman/listinfo/typo3-team-core

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list