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

Kasper Skårhøj kasper2005 at typo3.com
Thu Oct 13 21:46:29 CEST 2005


You can do it the more correct way then. Thanks for caring about the issue 
anyway.

- kasper



On Thursday 13 October 2005 18:33, Andreas Otto wrote:
> 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

-- 
- kasper

-----------------
Think future, not feature



More information about the TYPO3-team-core mailing list