[TYPO3-core] RFC: Bug #9335: Internal caching in t3lib_pageSelect::getRootLine() has no effect

Martin Kutschker masi-no at spam-typo3.org
Fri Sep 12 21:48:48 CEST 2008


Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> The internal caching in t3lib_pageSelect::getRootLine() has no effect
> since the key to store the information ($uid) will always be "0" since
> the rootline is fetched from the current page up to the root page.
> Unfortunately the $uid gets overridden by the uid of the parent page in
> each step of the iteration.
> 
> Solution:
> Use the original uid that was given as parament when getRootLine() got
> called as array key.

+1

Masi


More information about the TYPO3-team-core mailing list