[TYPO3-core] Nested fe_groups patch

Jan-Erik Revsbech jer at moccompany.com
Thu Sep 15 14:13:25 CEST 2005


> 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




More information about the TYPO3-team-core mailing list