[TYPO3-core] RFC: Handling of $this->altRootline in class.t3lib_matchcondition.php

Andreas Otto ao-lists at php4win.de
Thu Oct 13 18:33:58 CEST 2005


Hi Kasper,

On Thursday 13 October 2005 13:23, Kasper Skårhøj wrote:
> I guess line 268 in t3lib_tstemplate could be changed from
>
> $matchObj->altRootLine=$cc['rootLine'];
>
> to
>
> $matchObj->altRootLine=(array)$cc['rootLine'];

To check if a certain value is indeed what it is supposed to be is IMHO the 
better approach than to force an unknown value to be what you expect it to 
be.


Cheers,
Andreas

-- 
Noch 4226717 Sekunden...

Parker's Law:
	Beauty is only skin deep, but ugly goes clean to the bone.



More information about the TYPO3-team-core mailing list