[TYPO3-core] RFC #10006: Bug: Extension TS template loaded instead of root template

Dmitry Dulepov dmitry at typo3.org
Mon Aug 30 09:40:02 CEST 2010


Hi!

Markus Klein wrote:
> I recreated your patch, since it contained two strange lines.

The patch could use exec_SELECTgetRows() to decrease number of lines and
make code easier to read. Something like:

list($row) = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(....);
if (is_array($row)) {
	...
}

+1 to the idea.

-- 
Dmitry Dulepov
TYPO3 core&security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-team-core mailing list